Part Number Hot Search : 
KBPC351 0912225X LC260WX2 RL201 RF650 062DA SLG46531 IL9153
Product Description
Full Text Search
 

To Download NOA3302 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
   s e m i c o n d u c t o r c o m p o n e n t s i n d u s t r i e s , l l c , 2 0 1 3 m a r c h , 2 0 1 3 ? r e v . 1 1 p u b l i c a t i o n o r d e r n u m b e r : n o a 3 3 0 2 / d n o a 3 3 0 2 d i g i t a l p r o x i m i t y s e n s o r w i t h a m b i e n t l i g h t s e n s o r a n d i n t e r r u p t d e s c r i p t i o n t h e n o a 3 3 0 2 c o m b i n e s a n a d v a n c e d d i g i t a l p r o x i m i t y s e n s o r a n d l e d d r i v e r w i t h a n a m b i e n t l i g h t s e n s o r ( a l s ) a n d t r i ? m o d e i 2 c i n t e r f a c e w i t h i n t e r r u p t c a p a b i l i t y i n a n i n t e g r a t e d m o n o l i t h i c d e v i c e . m u l t i p l e p o w e r m a n a g e m e n t f e a t u r e s a n d v e r y l o w a c t i v e s e n s i n g p o w e r c o n s u m p t i o n d i r e c t l y a d d r e s s t h e p o w e r r e q u i r e m e n t s o f b a t t e r y o p e r a t e d m o b i l e p h o n e s a n d m o b i l e i n t e r n e t d e v i c e s . t h e p r o x i m i t y s e n s o r m e a s u r e s r e f l e c t e d l i g h t i n t e n s i t y w i t h a h i g h d e g r e e o f p r e c i s i o n a n d e x c e l l e n t a m b i e n t l i g h t r e j e c t i o n . t h e n o a 3 3 0 2 e n a b l e s a p r o x i m i t y s e n s o r s y s t e m w i t h a 3 2 : 1 p r o g r a m m a b l e l e d d r i v e c u r r e n t r a n g e a n d a 3 0 d b o v e r a l l p r o x i m i t y d e t e c t i o n t h r e s h o l d r a n g e . t h e p h o t o p i c l i g h t r e s p o n s e , d a r k c u r r e n t c o m p e n s a t i o n a n d h i g h s e n s i t i v i t y o f t h e a m b i e n t l i g h t s e n s o r e l i m i n a t e s i n a c c u r a t e l i g h t l e v e l d e t e c t i o n , i n s u r i n g p r o p e r b a c k l i g h t c o n t r o l e v e n i n t h e p r e s e n c e o f d a r k c o v e r g l a s s . t h e n o a 3 3 0 2 i s i d e a l f o r i m p r o v i n g t h e u s e r e x p e r i e n c e b y e n h a n c i n g t h e s c r e e n i n t e r f a c e w i t h t h e a b i l i t y t o m e a s u r e d i s t a n c e f o r n e a r / f a r d e t e c t i o n i n r e a l t i m e a n d t h e a b i l i t y t o r e s p o n d t o a m b i e n t l i g h t i n g c o n d i t i o n s t o c o n t r o l d i s p l a y b a c k l i g h t i n t e n s i t y . f e a t u r e s ? p r o x i m i t y s e n s o r , l e d d r i v e r a n d a l s i n o n e d e v i c e ? v e r y l o w p o w e r c o n s u m p t i o n  s t a n d ? b y c u r r e n t 5  a ( m o n i t o r i n g i 2 c i n t e r f a c e o n l y , v d d = 3 v )  a l s o p e r a t i o n a l c u r r e n t 5 0  a  p r o x i m i t y s e n s i n g a v e r a g e o p e r a t i o n a l c u r r e n t 1 0 0  a  a v e r a g e l e d s i n k c u r r e n t 7 5  a p r o x i m i t y s e n s i n g ? p r o x i m i t y d e t e c t i o n d i s t a n c e t h r e s h o l d i 2 c p r o g r a m m a b l e w i t h 1 2 ? b i t r e s o l u t i o n a n d f o u r i n t e g r a t i o n t i m e r a n g e s ( 1 5 ? b i t e f f e c t i v e r e s o l u t i o n ) ? e f f e c t i v e f o r m e a s u r i n g d i s t a n c e s u p t o 1 0 0 m m a n d b e y o n d ? e x c e l l e n t i r a n d a m b i e n t l i g h t r e j e c t i o n i n c l u d i n g s u n l i g h t ( u p t o 5 0 k l u x ) a n d c f l i n t e r f e r e n c e ? p r o g r a m m a b l e l e d d r i v e c u r r e n t f r o m 5 m a t o 1 6 0 m a i n 5 m a s t e p s , n o e x t e r n a l r e s i s t o r r e q u i r e d a m b i e n t l i g h t s e n s i n g ? a l s s e n s e s a m b i e n t l i g h t a n d p r o v i d e s a 1 6 ? b i t o u t p u t c o u n t o n t h e i 2 c b u s d i r e c t l y p r o p o r t i o n a l t o t h e a m b i e n t l i g h t i n t e n s i t y ? p h o t o p i c s p e c t r a l r e s p o n s e n e a r l y m a t c h e s h u m a n e y e ? d y n a m i c d a r k c u r r e n t c o m p e n s a t i o n ? l i n e a r r e s p o n s e o v e r t h e f u l l o p e r a t i n g r a n g e ? s e n s e s i n t e n s i t y o f a m b i e n t l i g h t f r o m 0 . 0 5 l u x t o 5 2 k l u x w i t h 2 1 ? b i t e f f e c t i v e r e s o l u t i o n ( 1 6 ? b i t c o n v e r t e r ) ? c o n t i n u o u s l y p r o g r a m m a b l e i n t e g r a t i o n t i m e s ( 6 . 2 5 m s , 1 2 . 5 m s , 2 5 m s ? t o 8 0 0 m s ) ? p r e c i s i o n o n ? c h i p o s c i l l a t o r ( c o u n t s e q u a l 0 . 1 l u x a t 1 0 0 m s i n t e g r a t i o n t i m e ) c w d f n 8 c u s u f f i x c a s e 5 0 5 a j h t t p : / / o n s e m i . c o m ? f o r i n f o r m a t i o n o n t a p e a n d r e e l s p e c i f i c a t i o n s , i n c l u d i n g p a r t o r i e n t a t i o n a n d t a p e s i z e s , p l e a s e r e f e r t o o u r t a p e a n d r e e l p a c k a g i n g s p e c i f i c a t i o n s b r o c h u r e , b r d 8 0 1 1 / d . * t e m p e r a t u r e r a n g e : ? 4 0 c t o 8 0 c . d e v i c e p a c k a g e s h i p p i n g ? o r d e r i n g i n f o r m a t i o n n o a 3 3 0 2 c u t a g * c w d f n 8 ( p b ? f r e e ) 2 5 0 0 / t a p e & r e e l p i n c o n n e c t i o n s 12 3 65 7 v d d l e d _ g n d l e d s c l s d a n c ( t o p v i e w ) i n t v s s 4 8 1
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 2 a d d i t i o n a l f e a t u r e s ? p r o g r a m m a b l e i n t e r r u p t f u n c t i o n i n c l u d i n g i n d e p e n d e n t u p p e r a n d l o w e r t h r e s h o l d d e t e c t i o n o r t h r e s h o l d b a s e d h y s t e r e s i s f o r p r o x i m i t y a n d o r a l s ? p r o x i m i t y p e r s i s t e n c e f e a t u r e r e d u c e s i n t e r r u p t s b y p r o v i d i n g h y s t e r e s i s t o f i l t e r f a s t t r a n s i e n t s s u c h a s c a m e r a f l a s h ? a u t o m a t i c p o w e r d o w n a f t e r s i n g l e m e a s u r e m e n t o r c o n t i n u o u s m e a s u r e m e n t s w i t h p r o g r a m m a b l e i n t e r v a l t i m e f o r b o t h a l s a n d p s f u n c t i o n ? w i d e o p e r a t i n g v o l t a g e r a n g e ( 2 . 3 v t o 3 . 6 v ) ? w i d e o p e r a t i n g t e m p e r a t u r e r a n g e ( ? 4 0 c t o 8 0 c ) ? i 2 c s e r i a l c o m m u n i c a t i o n p o r t  s t a n d a r d m o d e ? 1 0 0 k h z  f a s t m o d e ? 4 0 0 k h z  h i g h s p e e d m o d e ? 3 . 4 m h z ? n o e x t e r n a l c o m p o n e n t s r e q u i r e d e x c e p t t h e i r l e d a n d p o w e r s u p p l y d e c o u p l i n g c a p s ? 8 ? l e a d c u d f n 2 . 0 x 2 . 0 x 0 . 6 m m c l e a r p a c k a g e ? t h e s e d e v i c e s a r e p b ? f r e e , h a l o g e n f r e e / b f r f r e e a n d a r e r o h s c o m p l i a n t a p p l i c a t i o n s ? s e n s e s h u m a n p r e s e n c e i n t e r m s o f d i s t a n c e a n d s e n s e s a m b i e n t l i g h t c o n d i t i o n s , s a v i n g d i s p l a y p o w e r i n a p p l i c a t i o n s s u c h a s :  s m a r t p h o n e s , m o b i l e i n t e r n e t d e v i c e s , m p 3 p l a y e r s , g p s  m o b i l e d e v i c e d i s p l a y s a n d b a c k l i t k e y p a d s f i g u r e 1 . n o a 3 3 0 2 a p p l i c a t i o n b l o c k d i a g r a m a d c h  a l s p h o t o d i o d e r e f e r e n c e d i o d e s d a s c l i n t b h  p r o x i m i t y p h o t o d i o d e a d c d s p d s p o s c & c o n t r o l l e d v d d v s s i r l e d v d d v d d _ i 2 c s d a s c l i n t b m c u n o a 3 3 0 2 l e d d r i v e l e d _ g n d 1  f i 2 c i n t e r f a c e 1  f 2 2  f t a b l e 1 . p i n f u n c t i o n d e s c r i p t i o n p i n p i n n a m e d e s c r i p t i o n 1 v d d p o w e r p i n . 2 v s s g r o u n d p i n . 3 l e d _ g n d g r o u n d p i n f o r i r l e d d r i v e r . 4 l e d i r l e d o u t p u t p i n . 5 i n t i n t e r r u p t o u t p u t p i n , o p e n ? d r a i n . 6 n c n o t c o n n e c t e d . 7 s d a b i ? d i r e c t i o n a l d a t a s i g n a l f o r c o m m u n i c a t i o n s w i t h t h e i 2 c m a s t e r . 8 s c l e x t e r n a l i 2 c c l o c k s u p p l i e d b y t h e i 2 c m a s t e r .
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 3 t a b l e 2 . a b s o l u t e m a x i m u m r a t i n g s r a t i n g s y m b o l v a l u e u n i t i n p u t p o w e r s u p p l y v d d 4 . 0 v i n p u t v o l t a g e r a n g e v i n ? 0 . 3 t o v d d + 0 . 2 v o u t p u t v o l t a g e r a n g e v o u t ? 0 . 3 t o v d d + 0 . 2 v m a x i m u m j u n c t i o n t e m p e r a t u r e t j ( m a x ) 1 0 0 c s t o r a g e t e m p e r a t u r e t s t g ? 4 0 t o 8 0 c e s d c a p a b i l i t y , h u m a n b o d y m o d e l ( n o t e 1 ) e s d h b m 2 k v e s d c a p a b i l i t y , c h a r g e d d e v i c e m o d e l ( n o t e 1 ) e s d c d m 5 0 0 v e s d c a p a b i l i t y , m a c h i n e m o d e l ( n o t e 1 ) e s d m m 2 0 0 v m o i s t u r e s e n s i t i v i t y l e v e l m s l 3 ? l e a d t e m p e r a t u r e s o l d e r i n g ( n o t e 2 ) t s l d 2 6 0 c s t r e s s e s e x c e e d i n g m a x i m u m r a t i n g s m a y d a m a g e t h e d e v i c e . m a x i m u m r a t i n g s a r e s t r e s s r a t i n g s o n l y . f u n c t i o n a l o p e r a t i o n a b o v e t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s i s n o t i m p l i e d . e x t e n d e d e x p o s u r e t o s t r e s s e s a b o v e t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s m a y a f f e c t d e v i c e r e l i a b i l i t y . 1 . t h i s d e v i c e i n c o r p o r a t e s e s d p r o t e c t i o n a n d i s t e s t e d b y t h e f o l l o w i n g m e t h o d s : e s d h u m a n b o d y m o d e l t e s t e d p e r e i a / j e s d 2 2 ? a 1 1 4 e s d c h a r g e d d e v i c e m o d e l t e s t e d p e r e s d ? s t m 5 . 3 . 1 ? 1 9 9 9 e s d m a c h i n e m o d e l t e s t e d p e r e i a / j e s d 2 2 ? a 1 1 5 l a t c h u p c u r r e n t m a x i m u m r a t i n g :  1 0 0 m a p e r j e d e c s t a n d a r d : j e s d 7 8 2 . f o r i n f o r m a t i o n , p l e a s e r e f e r t o o u r s o l d e r i n g a n d m o u n t i n g t e c h n i q u e s r e f e r e n c e m a n u a l , s o l d e r r m / d t a b l e 3 . o p e r a t i n g r a n g e s r a t i n g s y m b o l m i n t y p m a x u n i t p o w e r s u p p l y v o l t a g e v d d 2 . 3 3 . 6 v p o w e r s u p p l y c u r r e n t , s t a n d ? b y m o d e ( v d d = 3 . 0 v ) i d d s t b y _ 3 . 0 5  a p o w e r s u p p l y c u r r e n t , s t a n d ? b y m o d e ( v d d = 3 . 6 v ) i d d s t b y _ 3 . 6 1 0  a p o w e r s u p p l y a v e r a g e c u r r e n t , a l s o p e r a t i n g 1 0 0 m s i n t e g r a t i o n t i m e a n d 5 0 0 m s i n t e r v a l s i d d a l s 5 0  a p o w e r s u p p l y a v e r a g e c u r r e n t , p s o p e r a t i n g 3 0 0  s i n t e g r a t i o n t i m e a n d 1 0 0 m s i n t e r v a l s i d d p s 1 0 0  a l e d a v e r a g e s i n k c u r r e n t , p s o p e r a t i n g a t 3 0 0  s i n t e g r a t i o n t i m e a n d 1 0 0 m s i n t e r v a l s a n d l e d c u r r e n t s e t a t 5 0 m a i l e d 7 5  a i 2 c s i g n a l v o l t a g e ( n o t e 3 ) v d d _ i 2 c 1 . 6 1 . 8 2 . 0 v l o w l e v e l i n p u t v o l t a g e ( v d d _ i 2 c r e l a t e d i n p u t l e v e l s ) v i l ? 0 . 3 0 . 3 v d d _ i 2 c v h i g h l e v e l i n p u t v o l t a g e ( v d d _ i 2 c r e l a t e d i n p u t l e v e l s ) v i h 0 . 7 v d d _ i 2 c v d d _ i 2 c + 0 . 2 v h y s t e r e s i s o f s c h m i t t t r i g g e r i n p u t s v h y s 0 . 1 v d d _ i 2 c v l o w l e v e l o u t p u t v o l t a g e ( o p e n d r a i n ) a t 3 m a s i n k c u r r e n t ( i n t b ) v o l 0 . 2 v d d _ i 2 c v i n p u t c u r r e n t o f i o p i n w i t h a n i n p u t v o l t a g e b e t w e e n 0 . 1 v d d a n d 0 . 9 v d d i i ? 1 0 1 0  a o u t p u t l o w c u r r e n t ( i n t b ) i o l 3 ? m a o p e r a t i n g f r e e ? a i r t e m p e r a t u r e r a n g e t a ? 4 0 8 0 c 3 . t h e i 2 c i n t e r f a c e i s f u n c t i o n a l t o 3 . 0 v , b u t t i m i n g i s o n l y g u a r a n t e e d u p t o 2 . 0 v . h i g h s p e e d m o d e i s g u a r a n t e e d t o b e f u n c t i o n a l t o 2 . 0 v .
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 4 t a b l e 4 . e l e c t r i c a l c h a r a c t e r i s t i c s ( u n l e s s o t h e r w i s e s p e c i f i e d , t h e s e s p e c i f i c a t i o n s a p p l y o v e r 2 . 3 v < v d d < 3 . 3 v , 1 . 7 v < v d d _ i 2 c < 1 . 9 v , ? 4 0 c < t a < 8 0 c , 1 0 p f < c b < 1 0 0 p f ) ( s e e n o t e 4 ) p a r a m e t e r s y m b o l m i n t y p m a x u n i t l e d p u l s e c u r r e n t i l e d _ p u l s e 5 1 6 0 m a l e d p u l s e c u r r e n t s t e p s i z e i l e d _ p u l s e _ s t e p 5 m a l e d p u l s e c u r r e n t a c c u r a c y i l e d _ a c c ? 2 0 + 2 0 % i n t e r v a l t i m e r t o l e r a n c e t o l f _ t i m e r ? 3 5 + 3 5 % s c l c l o c k f r e q u e n c y f s c l _ s t d 1 0 1 0 0 k h z f s c l _ f a s t 1 0 0 4 0 0 f s c l _ h s 1 0 0 3 4 0 0 h o l d t i m e f o r s t a r t c o n d i t i o n . a f t e r t h i s p e r i o d , t h e f i r s t c l o c k p u l s e i s g e n e r a t e d . t h d ; s t a _ s t d 4 . 0 ?  s t h d ; s t a _ f a s t 0 . 6 ? t h d ; s t a _ h s 0 . 1 6 0 ? l o w p e r i o d o f s c l c l o c k t l o w _ s t d 4 . 7 ?  s t l o w _ f a s t 1 . 3 ? t l o w _ h s 0 . 1 6 0 ? h i g h p e r i o d o f s c l c l o c k t h i g h _ s t d 4 . 0 ?  s t h i g h _ f a s t 0 . 6 ? t h i g h _ h s 0 . 0 6 0 ? s d a d a t a h o l d t i m e t h d ; d a t _ d _ s t d 0 3 . 4 5  s t h d ; d a t _ d _ f a s t 0 0 . 9 t h d ; d a t _ d _ h s 0 0 . 0 7 0 s d a d a t a s e t ? u p t i m e t s u ; d a t _ s t d 2 5 0 ? n s t s u ; d a t _ f a s t 1 0 0 ? t s u ; d a t _ h s 1 0 r i s e t i m e o f b o t h s d a a n d s c l ( i n p u t s i g n a l s ) ( n o t e 5 ) t r _ i n p u t _ s t d 2 0 1 0 0 0 n s t r _ i n p u t _ f a s t 2 0 3 0 0 t r _ i n p u t _ h s 1 0 4 0 f a l l t i m e o f b o t h s d a a n d s c l ( i n p u t s i g n a l s ) ( n o t e 5 ) t f _ i n p u t _ s t d 2 0 3 0 0 n s t f _ i n p u t _ f a s t 2 0 3 0 0 t f _ i n p u t _ h s 1 0 4 0 r i s e t i m e o f s d a o u t p u t s i g n a l ( n o t e 5 ) t r _ o u t _ s t d 2 0 3 0 0 n s t r _ o u t _ f a s t 2 0 + 0 . 1 c b 3 0 0 t r _ o u t _ h s 1 0 8 0 f a l l t i m e o f s d a o u t p u t s i g n a l ( n o t e 5 ) t f _ o u t _ s t d 2 0 3 0 0 n s t f _ o u t _ f a s t 2 0 + 0 . 1 c b 3 0 0 t f _ o u t _ h s 1 0 8 0 s e t ? u p t i m e f o r s t o p c o n d i t i o n t s u ; s t o _ s t d 4 . 0 ?  s t s u ; s t o _ f a s t 0 . 6 ? t s u ; s t o _ h s 0 . 1 6 0 ? b u s f r e e t i m e b e t w e e n s t o p a n d s t a r t c o n d i t i o n t b u f _ s t d 4 . 7 ?  s t b u f _ f a s t 1 . 3 ? t b u f _ h s 0 . 1 6 0 ? 4 . r e f e r t o f i g u r e 2 a n d f i g u r e 3 f o r m o r e i n f o r m a t i o n o n a c c h a r a c t e r i s t i c s . 5 . t h e r i s e t i m e a n d f a l l t i m e a r e d e p e n d e n t o n b o t h t h e b u s c a p a c i t a n c e ( c b ) a n d t h e b u s p u l l ? u p r e s i s t o r r p . m a x a n d m i n p u l l ? u p r e s i s t o r v a l u e s a r e d e t e r m i n e d a s f o l l o w s : r p ( m a x ) = t r ( m a x ) / ( 0 . 8 4 7 3 x c b ) a n d r p ( m i n ) = ( v d d _ i 2 c ? v o l ( m a x ) ) / i o l . 6 . c b = c a p a c i t a n c e o f o n e b u s l i n e , m a x i m u m v a l u e o f w h i c h i n c l u d i n g a l l p a r a s i t i c c a p a c i t a n c e s s h o u l d b e l e s s t h a n 1 0 0 p f . b u s c a p a c i t a n c e u p t o 4 0 0 p f i s s u p p o r t e d , b u t a t r e l a x e d t i m i n g .
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 5 t a b l e 4 . e l e c t r i c a l c h a r a c t e r i s t i c s ( u n l e s s o t h e r w i s e s p e c i f i e d , t h e s e s p e c i f i c a t i o n s a p p l y o v e r 2 . 3 v < v d d < 3 . 3 v , 1 . 7 v < v d d _ i 2 c < 1 . 9 v , ? 4 0 c < t a < 8 0 c , 1 0 p f < c b < 1 0 0 p f ) ( s e e n o t e 4 ) ( c o n t i n u e d ) p a r a m e t e r u n i t m a x t y p m i n s y m b o l c a p a c i t i v e l o a d f o r e a c h b u s l i n e ( i n c l u d i n g a l l p a r a s i t i c c a p a c i t a n c e ) ( n o t e 6 ) c b 1 0 1 0 0 p f n o i s e m a r g i n a t t h e l o w l e v e l ( f o r e a c h c o n n e c t e d d e v i c e ? i n c l u d i n g h y s t e r e s i s ) v n l 0 . 1 v d d ? v n o i s e m a r g i n a t t h e h i g h l e v e l ( f o r e a c h c o n n e c t e d d e v i c e ? i n c l u d i n g h y s t e r e s i s ) v n h 0 . 2 v d d ? v 4 . r e f e r t o f i g u r e 2 a n d f i g u r e 3 f o r m o r e i n f o r m a t i o n o n a c c h a r a c t e r i s t i c s . 5 . t h e r i s e t i m e a n d f a l l t i m e a r e d e p e n d e n t o n b o t h t h e b u s c a p a c i t a n c e ( c b ) a n d t h e b u s p u l l ? u p r e s i s t o r r p . m a x a n d m i n p u l l ? u p r e s i s t o r v a l u e s a r e d e t e r m i n e d a s f o l l o w s : r p ( m a x ) = t r ( m a x ) / ( 0 . 8 4 7 3 x c b ) a n d r p ( m i n ) = ( v d d _ i 2 c ? v o l ( m a x ) ) / i o l . 6 . c b = c a p a c i t a n c e o f o n e b u s l i n e , m a x i m u m v a l u e o f w h i c h i n c l u d i n g a l l p a r a s i t i c c a p a c i t a n c e s s h o u l d b e l e s s t h a n 1 0 0 p f . b u s c a p a c i t a n c e u p t o 4 0 0 p f i s s u p p o r t e d , b u t a t r e l a x e d t i m i n g . t a b l e 5 . o p t i c a l c h a r a c t e r i s t i c s ( u n l e s s o t h e r w i s e s p e c i f i e d , t h e s e s p e c i f i c a t i o n s a r e f o r v d d = 3 . 3 v , t a = 2 5 c ) p a r a m e t e r s y m b o l m i n t y p m a x u n i t a m b i e n t l i g h t s e n s o r s p e c t r a l r e s p o n s e , p e a k ( n o t e 7 )  p 5 6 0 n m s p e c t r a l r e s p o n s e , l o w ? 3 d b  c _ l o w 5 1 0 n m s p e c t r a l r e s p o n s e , h i g h ? 3 d b  c _ h i g h 6 1 0 n m d y n a m i c r a n g e d r a l s 0 . 0 5 5 2 k l u x m a x i m u m i l l u m i n a t i o n ( a l s o p e r a t i o n a l b u t s a t u r a t e d ) e v _ m a x 1 2 0 k l u x r e s o l u t i o n , c o u n t s p e r l u x , t i n t = 8 0 0 m s c r 8 0 0 8 0 c o u n t s r e s o l u t i o n , c o u n t s p e r l u x , t i n t = 1 0 0 m s c r 1 0 0 1 0 c o u n t s r e s o l u t i o n , c o u n t s p e r l u x , t i n t = 6 . 2 5 m s c r 6 . 2 5 6 . 2 5 c o u n t s i l l u m i n a n c e r e s p o n s i v i t y , g r e e n 5 6 0 n m l e d , e v = 1 0 0 l u x , t i n t = 1 0 0 m s r v _ g 1 0 0 1 0 0 0 c o u n t s i l l u m i n a n c e r e s p o n s i v i t y , g r e e n 5 6 0 n m l e d , e v = 1 0 0 0 l u x , t i n t = 1 0 0 m s r v _ g 1 0 0 0 1 0 0 0 0 c o u n t s d a r k c u r r e n t , e v = 0 l u x , t i n t = 1 0 0 m s r v d 0 0 3 c o u n t s p r o x i m i t y s e n s o r d e t e c t i o n r a n g e , t i n t = 1 2 0 0  s , i l e d = 1 0 0 m a , 8 6 0 n m i r l e d ( o s r a m s f h 4 6 5 0 ) , w h i t e r e f l e c t o r ( r g b = 2 2 0 , 2 2 4 , 2 2 3 ) , s n r = 6 : 1 d p s _ 1 2 0 0 _ w h i t e 1 0 0 m m d e t e c t i o n r a n g e , t i n t = 6 0 0  s , i l e d = 1 0 0 m a , 8 6 0 n m i r l e d ( o s r a m s f h 4 6 5 0 ) , w h i t e r e f l e c t o r ( r g b = 2 2 0 , 2 2 4 , 2 2 3 ) , s n r = 6 : 1 d p s _ 6 0 0 _ w h i t e 8 5 m m d e t e c t i o n r a n g e , t i n t = 3 0 0  s , i l e d = 1 0 0 m a , 8 6 0 n m i r l e d ( o s r a m s f h 4 6 5 0 ) , w h i t e r e f l e c t o r ( r g b = 2 2 0 , 2 2 4 , 2 2 3 ) , s n r = 6 : 1 d p s _ 3 0 0 _ w h i t e 6 0 m m d e t e c t i o n r a n g e , t i n t = 1 5 0  s , i l e d = 1 0 0 m a , 8 6 0 n m i r l e d ( o s r a m s f h 4 6 5 0 ) , w h i t e r e f l e c t o r ( r g b = 2 2 0 , 2 2 4 , 2 2 3 ) , s n r = 6 : 1 d p s _ 1 5 0 _ w h i t e 3 5 m m d e t e c t i o n r a n g e , t i n t = 1 2 0 0  s , i l e d = 1 0 0 m a , 8 6 0 n m i r l e d ( o s r a m s f h 4 6 5 0 ) , g r e y r e f l e c t o r ( r g b = 1 6 2 , 1 6 2 , 1 6 0 ) , s n r = 6 : 1 d p s _ 1 2 0 0 _ g r e y 7 0 m m d e t e c t i o n r a n g e , t i n t = 1 2 0 0  s , i l e d = 1 0 0 m a , 8 6 0 n m i r l e d ( o s r a m s f h 4 6 5 0 ) , b l a c k r e f l e c t o r ( r g b = 1 6 , 1 6 , 1 5 ) , s n r = 6 : 1 d p s _ 1 2 0 0 _ b l a c k 3 5 m m s a t u r a t i o n p o w e r l e v e l p d m a x 1 . 0 m w / c m 2 m e a s u r e m e n t r e s o l u t i o n , t i n t = 1 5 0  s m r 1 5 0 1 2 b i t s m e a s u r e m e n t r e s o l u t i o n , t i n t = 3 0 0  s m r 3 0 0 1 3 b i t s m e a s u r e m e n t r e s o l u t i o n , t i n t = 6 0 0  s m r 6 0 0 1 4 b i t s m e a s u r e m e n t r e s o l u t i o n , t i n t = 1 2 0 0  s m r 1 2 0 0 1 5 b i t s 7 . r e f e r t o f i g u r e 4 f o r m o r e i n f o r m a t i o n o n s p e c t r a l r e s p o n s e .
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 6 f i g u r e 2 . a c c h a r a c t e r i s t i c s , s t a n d a r d a n d f a s t m o d e s f i g u r e 3 . a c c h a r a c t e r i s t i c s , h i g h s p e e d m o d e
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 7 t y p i c a l c h a r a c t e r i s t i c s f i g u r e 4 . a l s s p e c t r a l r e s p o n s e ( n o r m a l i z e d ) f i g u r e 5 . a l s l i g h t s o u r c e d e p e n d e n c y ( n o r m a l i z e d t o f l u o r e s c e n t l i g h t ) w a v e l e n g t h ( n m ) r a t i o 9 0 0 8 0 0 7 0 0 6 0 0 5 0 0 4 0 0 3 0 0 2 0 0 0 0 . 1 0 . 2 0 . 4 0 . 6 0 . 7 0 . 9 1 . 0 2 . 0 1 . 5 1 . 0 0 . 5 0 f i g u r e 6 . a l s r e s p o n s e t o w h i t e l i g h t v s . a n g l e f i g u r e 7 . a l s r e s p o n s e t o i r v s . a n g l e f i g u r e 8 . a l s l i n e a r i t y 0 ? 7 0 0 l u x f i g u r e 9 . a l s l i n e a r i t y 0 ? 1 0 0 l u x e v ( l u x ) e v ( l u x ) 7 0 0 6 0 0 5 0 0 4 0 0 3 0 0 2 0 0 1 0 0 0 0 1 k 2 k 3 k 4 k 6 k 7 k 8 k 8 0 7 0 6 0 5 0 3 0 2 0 1 0 0 0 2 0 0 4 0 0 6 0 0 8 0 0 1 0 0 0 1 2 0 0 o u t p u t c u r r e n t ( n o r m a l i z e d ) a l s c o u n t s a l s c o u n t s 8 0 0 5 k 4 0 9 0 1 0 0 1 1 0 i n c a n d e s c e n t ( 2 8 5 0 k ) f l u o r e s c e n t ( 2 7 0 0 k ) w h i t e l e d ( 5 6 0 0 k ) f l u o r e s c e n t ( 5 0 0 0 k ) 1 0 0 0 0 . 3 0 . 5 0 . 8 a l s h u m a n e y e 0 . 0 0 . 1 0 . 2 0 . 3 0 . 4 0 . 5 0 . 6 0 . 7 0 . 8 0 . 9 1 . 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 1 0 0 1 1 0 1 2 0 1 3 0 1 4 0 1 5 0 1 6 0 1 7 0 1 8 0 ? 1 7 0 ? 1 6 0 ? 1 5 0 ? 1 4 0 ? 1 3 0 ? 1 2 0 ? 1 1 0 ? 1 0 0 ? 9 0 ? 8 0 ? 7 0 ? 6 0 ? 5 0 ? 4 0 ? 3 0 ? 2 0 ? 1 0 0 . 0 0 . 1 0 . 2 0 . 3 0 . 4 0 . 5 0 . 6 0 . 7 0 . 8 0 . 9 1 . 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 1 0 0 1 1 0 1 2 0 1 3 0 1 4 0 1 5 0 1 6 0 1 7 0 1 8 0 ? 1 7 0 ? 1 6 0 ? 1 5 0 ? 1 4 0 ? 1 3 0 ? 1 2 0 ? 1 1 0 ? 1 0 0 ? 9 0 ? 8 0 ? 7 0 ? 6 0 ? 5 0 ? 4 0 ? 3 0 ? 2 0 ? 1 0  s i d e v i e w t o p v i e w ? 9 0 o 9 0 o 12 87 6 4 5 3  s i d e v i e w t o p v i e w ? 9 0 o 9 0 o 12 87 6 4 5 3
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 8 t y p i c a l c h a r a c t e r i s t i c s f i g u r e 1 0 . a l s l i n e a r i t y 0 ? 1 0 l u x f i g u r e 1 1 . a l s l i n e a r i t y 0 ? 2 l u x e v ( l u x ) e v ( l u x ) 1 0 8 7 6 4 3 1 0 0 2 0 4 0 6 0 1 0 0 1 2 0 2 . 5 2 . 0 1 . 5 1 . 0 0 . 5 0 0 5 1 0 1 5 2 0 2 5 f i g u r e 1 2 . p s r e s p o n s e v s . d i s t a n c e a n d l e d c u r r e n t ( 1 2 0 0  s i n t e g r a t i o n t i m e , g r e y r e f l e c t o r ( r g b = 1 6 2 , 1 6 2 , 1 6 0 ) ) f i g u r e 1 3 . p s r e s p o n s e v s . d i s t a n c e a n d l e d c u r r e n t ( 3 0 0  s i n t e g r a t i o n t i m e , w h i t e r e f l e c t o r ( r g b = 2 2 0 , 2 2 4 , 2 2 3 ) ) d i s t a n c e ( m m ) d i s t a n c e ( m m ) 1 4 0 1 2 0 1 0 0 8 0 6 0 4 0 2 0 0 0 5 k 1 0 k 2 0 k 2 5 k 3 0 k 4 0 k 4 5 k f i g u r e 1 4 . p s r e s p o n s e v s . d i s t a n c e a n d l e d c u r r e n t ( 3 0 0  s i n t e g r a t i o n t i m e , g r e y r e f l e c t o r ( r g b = 1 6 2 , 1 6 2 , 1 6 0 ) ) f i g u r e 1 5 . p s r e s p o n s e v s . d i s t a n c e a n d l e d c u r r e n t ( 3 0 0  s i n t e g r a t i o n t i m e , b l a c k r e f l e c t o r ( r g b = 1 6 , 1 6 , 1 5 ) ) d i s t a n c e ( m m ) d i s t a n c e ( m m ) 1 4 0 1 2 0 1 0 0 8 0 6 0 4 0 2 0 0 0 2 k 4 k 6 k 8 k 1 0 k 1 2 k 1 0 0 8 0 6 0 4 0 2 0 0 0 5 0 0 1 5 0 0 2 0 0 0 3 0 0 0 3 5 0 0 4 0 0 0 5 0 0 0 a l s c o u n t s a l s c o u n t s p r o x i m i t y s e n s o r v a l u e p r o x i m i t y s e n s o r v a l u e p r o x i m i t y s e n s o r v a l u e p r o x i m i t y s e n s o r v a l u e 1 0 0 0 2 5 0 0 4 5 0 0 2 0 m a 6 0 m a 1 0 0 m a 1 6 0 m a 1 6 0 2 0 m a 6 0 m a 1 0 0 m a 1 6 0 m a 8 0 2 5 9 1 1 1 6 0 1 5 k 3 5 k 2 0 m a 6 0 m a 1 0 0 m a 1 6 0 m a 2 0 0 1 0 0 1 5 0 5 0 0 0 2 k 4 k 6 k 8 k 1 0 k 1 2 k 2 5 0 2 0 m a 6 0 m a 1 0 0 m a 1 6 0 m a
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 9 t y p i c a l c h a r a c t e r i s t i c s v d d ( v ) v d d ( v ) 4 . 0 3 . 5 3 . 0 2 . 5 2 . 0 0 1 0 3 0 4 0 6 0 7 0 9 0 1 0 0 4 . 0 3 . 5 3 . 0 2 . 5 2 . 0 0 5 0 1 0 0 1 5 0 2 0 0 2 5 0 3 0 0 i d d (  a ) i d d (  a ) a l s p s a l s + p s 2 0 5 0 8 0 a l s p s a l s + p s 0 . 0 0 . 1 0 . 2 0 . 3 0 . 4 0 . 5 0 . 6 0 . 7 0 . 8 0 . 9 1 . 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 1 0 0 1 1 0 1 2 0 1 3 0 1 4 0 1 5 0 1 6 0 1 7 0 1 8 0 ? 1 7 0 ? 1 6 0 ? 1 5 0 ? 1 4 0 ? 1 3 0 ? 1 2 0 ? 1 1 0 ? 1 0 0 ? 9 0 ? 8 0 ? 7 0 ? 6 0 ? 5 0 ? 4 0 ? 3 0 ? 2 0 ? 1 0  s i d e v i e w t o p v i e w ? 9 0 o 9 0 o 12 87 6 4 5 3 t e m p e r a t u r e ( c ) 1 0 0 8 0 6 0 4 0 2 0 0 0 0 . 2 0 . 4 0 . 6 0 . 8 1 . 0 1 . 2 a l s r e s p o n s e ( n o r m a l i z e d ) 1 0 0 l u x 5 0 l u x 2 0 l u x 1 0 l u x 5 l u x f i g u r e 1 6 . p s a m b i e n t r e j e c t i o n t i n t = 3 0 0  s , i l e d = 1 0 0 m a , w h i t e r e f l e c t o r ( r g b = 2 2 0 , 2 2 4 , 2 2 3 ) f i g u r e 1 7 . p s r e s p o n s e t o i r v s . a n g l e f i g u r e 1 8 . s u p p l y c u r r e n t v s . s u p p l y v o l t a g e a l s t i n t = 1 0 0 m s , t r = 5 0 0 m s p s t i n t = 3 0 0  s , t r = 1 0 0 m s f i g u r e 1 9 . s u p p l y c u r r e n t v s . s u p p l y v o l t a g e a l s t i n t = 1 0 0 m s , t r = 5 0 0 m s p s t i n t = 1 2 0 0  s , t r = 5 0 m s f i g u r e 2 0 . a l s r e s p o n s e v s . t e m p e r a t u r e r e f l e c t o r d i s t a n c e ( m m ) p r o x i m i t y s e n s o r v a l u e 2 0 0 1 0 0 1 5 0 5 0 0 0 2 k 4 k 6 k 8 k 1 0 k 1 2 k 2 5 0 n o a m b i e n t 5 0 k l u x h a l o g e n ( 3 3 0 0 k ) 1 0 k l u x i n c a n d e s c e n t ( 2 7 0 0 k ) 1 0 k l u x c f l ( 3 0 0 0 k )
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 0 d e s c r i p t i o n o f o p e r a t i o n p r o x i m i t y s e n s o r a r c h i t e c t u r e n o a 3 3 0 2 c o m b i n e s a n a d v a n c e d d i g i t a l p r o x i m i t y s e n s o r , l e d d r i v e r , a m b i e n t l i g h t s e n s o r a n d a t r i ? m o d e i 2 c i n t e r f a c e a s s h o w n i n f i g u r e 1 . t h e l e d d r i v e r d r a w s a m o d u l a t e d c u r r e n t t h r o u g h t h e e x t e r n a l i r l e d t o i l l u m i n a t e t h e t a r g e t . t h e l e d c u r r e n t i s p r o g r a m m a b l e o v e r a w i d e r a n g e . t h e i n f r a r e d l i g h t r e f l e c t e d f r o m t h e t a r g e t i s d e t e c t e d b y t h e p r o x i m i t y s e n s o r p h o t o d i o d e . t h e p r o x i m i t y s e n s o r e m p l o y s a s e n s i t i v e p h o t o d i o d e f a b r i c a t e d i n o n s e m i c o n d u c t o r ? s s t a n d a r d c m o s p r o c e s s t e c h n o l o g y . t h e m o d u l a t e d l i g h t r e c e i v e d b y t h e o n ? c h i p p h o t o d i o d e i s c o n v e r t e d t o a d i g i t a l s i g n a l u s i n g a v a r i a b l e s l o p e i n t e g r a t i n g a d c w i t h a d e f a u l t r e s o l u t i o n ( a t 3 0 0  s ) o f 1 3 ? b i t s , u n s i g n e d . t h e s i g n a l i s p r o c e s s e d t o r e m o v e a l l u n w a n t e d s i g n a l s r e s u l t i n g i n a h i g h l y s e l e c t i v e r e s p o n s e t o t h e g e n e r a t e d l i g h t s i g n a l . t h e f i n a l v a l u e i s s t o r e d i n t h e p s _ d a t a r e g i s t e r w h e r e i t c a n b e r e a d b y t h e i 2 c i n t e r f a c e . a m b i e n t l i g h t s e n s o r a r c h i t e c t u r e t h e a m b i e n t l i g h t s e n s o r c o n t a i n e d i n t h e n o a 3 3 0 2 e m p l o y s a s e c o n d p h o t o d i o d e w i t h i t s o w n p r o p r i e t a r y p h o t o p i c f i l t e r l i m i t i n g e x t r a n e o u s p h o t o n s , a n d t h u s p e r f o r m i n g a s a b a n d p a s s f i l t e r o n t h e i n c i d e n t w a v e f r o n t . t h e f i l t e r o n l y t r a n s m i t s p h o t o n s i n t h e v i s i b l e s p e c t r u m w h i c h a r e p r i m a r i l y d e t e c t e d b y t h e h u m a n e y e . t h e p h o t o r e s p o n s e o f t h i s s e n s o r i s a s s h o w n i n f i g u r e 4 . t h e a m b i e n t l i g h t s i g n a l d e t e c t e d b y t h e p h o t o d i o d e i s c o n v e r t e d t o d i g i t a l s i g n a l u s i n g a v a r i a b l e s l o p e i n t e g r a t i n g a d c w i t h a r e s o l u t i o n o f 1 6 ? b i t s , u n s i g n e d . t h e a d c v a l u e i s s t o r e d i n t h e a l s _ d a t a r e g i s t e r w h e r e i t c a n b e r e a d b y t h e i 2 c i n t e r f a c e . e q u a t i o n 1 s h o w s t h e r e l a t i o n s h i p o f o u t p u t c o u n t s c n t a s a f u n c t i o n o f i n t e g r a t i o n c o n s t a n t i k , i n t e g r a t i o n t i m e t i n t ( i n s e c o n d s ) a n d t h e i n t e n s i t y o f t h e a m b i e n t l i g h t , i l ( i n l u x ) , a t r o o m t e m p e r a t u r e ( 2 5 c ) . i l  c n t   i k  t i n t  ( e q . 1 ) w h e r e : i k = 7 3 ( f o r f l u o r e s c e n t l i g h t ) i k = 1 0 6 ( f o r i n c a n d e s c e n t l i g h t ) h e n c e t h e i n t e n s i t y o f t h e a m b i e n t f l u o r e s c e n t l i g h t ( i n l u x ) : i l  c n t   7 3  t i n t  ( e q . 2 ) a n d t h e i n t e n s i t y o f t h e a m b i e n t i n c a n d e s c e n t l i g h t ( i n l u x ) : i l  c n t   1 0 6  t i n t  ( e q . 3 ) f o r e x a m p l e l e t : c n t = 7 3 0 0 t i n t = 1 0 0 m s i n t e n s i t y o f a m b i e n t f l u o r e s c e n t l i g h t , i l ( i n l u x ) : i l  7 3 0 0   7 3  1 0 0 m s  ( e q . 4 ) i l = 1 0 0 0 l u x i 2 c i n t e r f a c e t h e n o a 3 3 0 2 a c t s a s a n i 2 c s l a v e d e v i c e a n d s u p p o r t s s i n g l e r e g i s t e r a n d b l o c k r e g i s t e r r e a d a n d w r i t e o p e r a t i o n s . a l l d a t a t r a n s a c t i o n s o n t h e b u s a r e 8 b i t s l o n g . e a c h d a t a b y t e t r a n s m i t t e d i s f o l l o w e d b y a n a c k n o w l e d g e b i t . d a t a i s t r a n s m i t t e d w i t h t h e m s b f i r s t . f i g u r e 2 1 s h o w s a n i 2 c w r i t e o p e r a t i o n . w r i t e t r a n s a c t i o n s b e g i n w i t h t h e m a s t e r s e n d i n g a n i 2 c s t a r t s e q u e n c e f o l l o w e d b y t h e s e v e n b i t s l a v e a d d r e s s ( n o a 3 3 0 2 = 0 x 3 7 ) a n d t h e w r i t e ( 0 ) c o m m a n d b i t . t h e n o a 3 3 0 2 w i l l a c k n o w l e d g e t h i s b y t e t r a n s f e r w i t h a n a p p r o p r i a t e a c k . n e x t t h e m a s t e r w i l l s e n d t h e 8 b i t r e g i s t e r a d d r e s s t o b e w r i t t e n t o . a g a i n t h e n o a 3 3 0 2 w i l l a c k n o w l e d g e r e c e p t i o n w i t h a n a c k . f i n a l l y , t h e m a s t e r w i l l b e g i n s e n d i n g 8 b i t d a t a s e g m e n t ( s ) t o b e w r i t t e n t o t h e n o a 3 3 0 2 r e g i s t e r b a n k . t h e n o a 3 3 0 2 w i l l s e n d a n a c k a f t e r e a c h b y t e a n d i n c r e m e n t t h e a d d r e s s p o i n t e r b y o n e i n p r e p a r a t i o n f o r t h e n e x t t r a n s f e r . w r i t e t r a n s a c t i o n s a r e t e r m i n a t e d w i t h e i t h e r a n i 2 c s t o p o r w i t h a n o t h e r i 2 c s t a r t ( r e p e a t e d s t a r t ) . 7 8 8 a [ 6 : 0 ] d [ 7 : 0 ] d [ 7 : 0 ] w r i t e a c k a c k a c k d e v i c e a d d r e s s r e g i s t e r a d d r e s s r e g i s t e r d a t a s t a r t c o n d i t i o n s t o p c o n d i t i o n 0 1 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 x 6 e f i g u r e 2 1 . i 2 c w r i t e c o m m a n d
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 1 f i g u r e 2 2 s h o w s a n i 2 c r e a d c o m m a n d s e n t b y t h e m a s t e r t o t h e s l a v e d e v i c e . r e a d t r a n s a c t i o n s b e g i n i n m u c h t h e s a m e m a n n e r a s t h e w r i t e t r a n s a c t i o n s i n t h a t t h e s l a v e a d d r e s s m u s t b e s e n t w i t h a w r i t e ( 0 ) c o m m a n d b i t . 7 8 8 a [ 6 : 0 ] d [ 7 : 0 ] d [ 7 : 0 ] w r i t e a c k a c k a c k d e v i c e a d d r e s s r e g i s t e r a d d r e s s r e g i s t e r d a t a s t a r t c o n d i t i o n s t o p c o n d i t i o n 0 1 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 x 6 e 7 8 8 a [ 6 : 0 ] d [ 7 : 0 ] d [ 7 : 0 ] r e a d a c k a c k n a c k d e v i c e a d d r e s s r e g i s t e r d a t a [ a ] r e g i s t e r d a t a [ a + 1 ] s t a r t c o n d i t i o n s t o p c o n d i t i o n 0 1 1 0 1 1 1 1 0 b b b b b b b b b b b b b b b b 0 1 0 x 6 f f i g u r e 2 2 . i 2 c r e a d c o m m a n d a f t e r t h e n o a 3 3 0 2 s e n d s a n a c k , t h e m a s t e r s e n d s t h e r e g i s t e r a d d r e s s a s i f i t w e r e g o i n g t o b e w r i t t e n t o . t h e n o a 3 3 0 2 w i l l a c k n o w l e d g e t h i s a s w e l l . n e x t , i n s t e a d o f s e n d i n g d a t a a s i n a w r i t e , t h e m a s t e r w i l l r e ? i s s u e a n i 2 c s t a r t ( r e p e a t e d s t a r t ) a n d a g a i n s e n d t h e s l a v e a d d r e s s a n d t h i s t i m e t h e r e a d ( 1 ) c o m m a n d b i t . t h e n o a 3 3 0 2 w i l l t h e n b e g i n s h i f t i n g o u t d a t a f r o m t h e r e g i s t e r j u s t a d d r e s s e d . i f t h e m a s t e r w i s h e s t o r e c e i v e m o r e d a t a ( n e x t r e g i s t e r a d d r e s s ) , i t w i l l a c k t h e s l a v e a t t h e e n d o f t h e 8 b i t d a t a t r a n s m i s s i o n , a n d t h e s l a v e w i l l r e s p o n d b y s e n d i n g t h e n e x t b y t e , a n d s o o n . t o s i g n a l t h e e n d o f t h e r e a d t r a n s a c t i o n , t h e m a s t e r w i l l s e n d a n a c k b i t a t t h e e n d o f a t r a n s m i s s i o n f o l l o w e d b y a n i 2 c s t o p . t h e n o a 3 3 0 2 a l s o s u p p o r t s i 2 c h i g h ? s p e e d m o d e . t h e t r a n s i t i o n f r o m s t a n d a r d o r f a s t m o d e t o h i g h ? s p e e d m o d e i s i n i t i a t e d b y t h e i 2 c m a s t e r . a s p e c i a l r e s e r v e d e v i c e a d d r e s s i s c a l l e d f o r a n d a n y d e v i c e t h a t r e c o g n i z e s t h i s a n d s u p p o r t s h i g h s p e e d m o d e i m m e d i a t e l y c h a n g e s t h e p e r f o r m a n c e c h a r a c t e r i s t i c s o f i t s i / o c e l l s i n p r e p a r a t i o n f o r i 2 c t r a n s a c t i o n s a t t h e i 2 c h i g h s p e e d d a t a p r o t o c o l r a t e s . f r o m t h e n o n , s t a n d a r d i 2 c c o m m a n d s m a y b e i s s u e d b y t h e m a s t e r , i n c l u d i n g r e p e a t e d s t a r t c o m m a n d s . w h e n t h e i 2 c m a s t e r t e r m i n a t e s a n y i 2 c t r a n s a c t i o n w i t h a s t o p s e q u e n c e , t h e m a s t e r a n d a l l s l a v e d e v i c e s i m m e d i a t e l y r e v e r t b a c k t o s t a n d a r d / f a s t m o d e i / o p e r f o r m a n c e . b y u s i n g a c o m b i n a t i o n o f h i g h ? s p e e d m o d e a n d a b l o c k w r i t e o p e r a t i o n , i t i s p o s s i b l e t o q u i c k l y i n i t i a l i z e t h e n o a 3 3 0 2 i 2 c r e g i s t e r b a n k .
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 2 n o a 3 3 0 2 d a t a r e g i s t e r s n o a 3 3 0 2 o p e r a t i o n i s o b s e r v e d a n d c o n t r o l l e d b y i n t e r n a l d a t a r e g i s t e r s r e a d f r o m a n d w r i t t e n t o v i a t h e e x t e r n a l i 2 c i n t e r f a c e . r e g i s t e r s a r e l i s t e d i n t a b l e 6 . d e f a u l t v a l u e s a r e s e t o n i n i t i a l p o w e r u p o r v i a a s o f t w a r e r e s e t c o m m a n d ( r e g i s t e r 0 x 0 1 ) . t h e i 2 c s l a v e a d d r e s s o f t h e n o a 3 3 0 2 i s 0 x 3 7 . t a b l e 6 . n o a 3 3 0 2 d a t a r e g i s t e r s a d d r e s s t y p e n a m e d e s c r i p t i o n 0 x 0 0 r p a r t _ i d n o a 3 3 0 2 p a r t n u m b e r a n d r e v i s i o n i d s 0 x 0 1 r w r e s e t s o f t w a r e r e s e t c o n t r o l 0 x 0 2 r w i n t _ c o n f i g i n t e r r u p t p i n f u n c t i o n a l c o n t r o l s e t t i n g s 0 x 0 f r w p s _ l e d _ c u r r e n t p s l e d p u l s e c u r r e n t ( 5 , 1 0 , ? , 1 6 0 m a ) 0 x 1 0 r w p s _ t h _ u p _ m s b p s i n t e r r u p t u p p e r t h r e s h o l d , m o s t s i g n i f i c a n t b i t s 0 x 1 1 r w p s _ t h _ u p _ l s b p s i n t e r r u p t u p p e r t h r e s h o l d , l e a s t s i g n i f i c a n t b i t s 0 x 1 2 r w p s _ t h _ l o _ m s b p s i n t e r r u p t l o w e r t h r e s h o l d , m o s t s i g n i f i c a n t b i t s 0 x 1 3 r w p s _ t h _ l o _ l s b p s i n t e r r u p t l o w e r t h r e s h o l d , l e a s t s i g n i f i c a n t b i t s 0 x 1 4 r w p s _ f i l t e r _ c o n f i g p s f i l t e r c o n f i g u r a t i o n 0 x 1 5 r w p s _ c o n f i g p s i n t e g r a t i o n t i m e c o n f i g u r a t i o n 0 x 1 6 r w p s _ i n t e r v a l p s i n t e r v a l t i m e c o n f i g u r a t i o n 0 x 1 7 r w p s _ c o n t r o l p s o p e r a t i o n m o d e c o n t r o l 0 x 2 0 r w a l s _ t h _ u p _ m s b a l s i n t e r r u p t u p p e r t h r e s h o l d , m o s t s i g n i f i c a n t b i t s 0 x 2 1 r w a l s _ t h _ u p _ l s b a l s i n t e r r u p t u p p e r t h r e s h o l d , l e a s t s i g n i f i c a n t b i t s 0 x 2 2 r w a l s _ t h _ l o _ m s b a l s i n t e r r u p t l o w e r t h r e s h o l d , m o s t s i g n i f i c a n t b i t s 0 x 2 3 r w a l s _ t h _ l o _ l s b a l s i n t e r r u p t l o w e r t h r e s h o l d , l e a s t s i g n i f i c a n t b i t s 0 x 2 4 r w r e s e r v e d r e s e r v e d 0 x 2 5 r w a l s _ c o n f i g a l s i n t e g r a t i o n t i m e c o n f i g u r a t i o n 0 x 2 6 r w a l s _ i n t e r v a l a l s i n t e r v a l t i m e c o n f i g u r a t i o n 0 x 2 7 r w a l s _ c o n t r o l a l s o p e r a t i o n m o d e c o n t r o l 0 x 4 0 r i n t e r r u p t i n t e r r u p t s t a t u s 0 x 4 1 r p s _ d a t a _ m s b p s m e a s u r e m e n t d a t a , m o s t s i g n i f i c a n t b i t s 0 x 4 2 r p s _ d a t a _ l s b p s m e a s u r e m e n t d a t a , l e a s t s i g n i f i c a n t b i t s 0 x 4 3 r a l s _ d a t a _ m s b a l s m e a s u r e m e n t d a t a , m o s t s i g n i f i c a n t b i t s 0 x 4 4 r a l s _ d a t a _ l s b a l s m e a s u r e m e n t d a t a , l e a s t s i g n i f i c a n t b i t s p a r t _ i d r e g i s t e r ( 0 x 0 0 ) t h e p a r t _ i d r e g i s t e r p r o v i d e s p a r t a n d r e v i s i o n i d e n t i f i c a t i o n . t h e s e v a l u e s a r e h a r d ? w i r e d a t t h e f a c t o r y a n d c a n n o t b e m o d i f i e d . t a b l e 7 . p a r t _ i d r e g i s t e r ( 0 x 0 0 ) b i t 7 6 5 4 3 2 1 0 f i e l d p a r t n u m b e r i d r e v i s i o n i d f i e l d b i t d e f a u l t d e s c r i p t i o n p a r t n u m b e r i d 7 : 4 1 0 0 1 p a r t n u m b e r i d e n t i f i c a t i o n r e v i s i o n i d 3 : 0 n a s i l i c o n r e v i s i o n n u m b e r
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 3 r e s e t r e g i s t e r ( 0 x 0 1 ) s o f t w a r e r e s e t i s c o n t r o l l e d b y t h i s r e g i s t e r . s e t t i n g t h i s r e g i s t e r f o l l o w e d b y a n i 2 c _ s t o p s e q u e n c e w i l l i m m e d i a t e l y r e s e t t h e n o a 3 3 0 2 t o t h e d e f a u l t s t a r t u p s t a n d b y s t a t e . t r i g g e r i n g t h e s o f t w a r e r e s e t h a s v i r t u a l l y t h e s a m e e f f e c t a s c y c l i n g t h e p o w e r s u p p l y t r i p p i n g t h e i n t e r n a l p o w e r o n r e s e t ( p o r ) c i r c u i t r y . t a b l e 8 . r e s e t r e g i s t e r ( 0 x 0 1 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a s w _ r e s e t f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 1 x x x x x x x d o n ? t c a r e s w _ r e s e t 0 0 s o f t w a r e r e s e t t o s t a r t u p s t a t e i n t _ c o n f i g r e g i s t e r ( 0 x 0 2 ) i n t _ c o n f i g r e g i s t e r c o n t r o l s t h e e x t e r n a l i n t e r r u p t p i n f u n c t i o n . t a b l e 9 . i n t _ c o n f i g r e g i s t e r ( 0 x 0 2 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a a u t o _ c l e a r p o l a r i t y f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 2 x x x x x x d o n ? t c a r e a u t o _ c l e a r 1 1 0 w h e n a n i n t e r r u p t i s t r i g g e r e d , t h e i n t e r r u p t p i n r e m a i n s a s s e r t e d u n t i l c l e a r e d b y a n i 2 c r e a d o f i n t e r r u p t r e g i s t e r 1 i n t e r r u p t p i n s t a t e i s u p d a t e d a f t e r e a c h m e a s u r e m e n t p o l a r i t y 0 0 0 i n t e r r u p t p i n a c t i v e l o w w h e n a s s e r t e d 1 i n t e r r u p t p i n a c t i v e h i g h w h e n a s s e r t e d p s _ l e d _ c u r r e n t r e g i s t e r ( 0 x 0 f ) t h e l e d _ c u r r e n t r e g i s t e r c o n t r o l s h o w m u c h c u r r e n t t h e i n t e r n a l l e d d r i v e r s i n k s t h r o u g h t h e i r l e d d u r i n g m o d u l a t e d i l l u m i n a t i o n . t h e c u r r e n t s i n k r a n g e i s a b a s e l i n e 5 m a p l u s a b i n a r y w e i g h t e d v a l u e o f t h e l e d _ c u r r e n t r e g i s t e r t i m e s 5 m a , f o r a n e f f e c t i v e r a n g e o f 5 m a t o 1 6 0 m a i n s t e p s o f 5 m a . t h e d e f a u l t s e t t i n g i s 5 0 m a . t a b l e 1 0 . p s _ l e d _ c u r r e n t r e g i s t e r ( 0 x 0 f ) b i t 7 6 5 4 3 2 1 0 f i e l d n a l e d _ c u r r e n t f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 5 x x x d o n ? t c a r e l e d _ c u r r e n t 4 : 0 0 1 0 0 1 d e f i n e s c u r r e n t s i n k d u r i n g l e d m o d u l a t i o n . b i n a r y w e i g h t e d v a l u e t i m e s 5 m a p l u s 5 m a . p s _ t h r e g i s t e r s ( 0 x 1 0 ? 0 x 1 3 ) w i t h h y s t e r e s i s n o t e n a b l e d ( s e e p s _ c o n f i g r e g i s t e r ) , t h e p s _ t h r e g i s t e r s s e t t h e u p p e r a n d l o w e r i n t e r r u p t t h r e s h o l d s o f t h e p r o x i m i t y d e t e c t i o n w i n d o w . i n t e r r u p t f u n c t i o n s c o m p a r e t h e s e t h r e s h o l d v a l u e s t o d a t a f r o m t h e p s _ d a t a r e g i s t e r s . m e a s u r e d p s _ d a t a v a l u e s o u t s i d e t h i s w i n d o w w i l l s e t a n i n t e r r u p t a c c o r d i n g t o t h e i n t _ c o n f i g r e g i s t e r s e t t i n g s . w i t h h y s t e r e s i s e n a b l e d , t h r e s h o l d s e t t i n g s t a k e o n a d i f f e r e n t m e a n i n g . i f p s _ h y s t _ t r i g i s s e t , t h e p s _ t h _ u p r e g i s t e r s e t s t h e u p p e r t h r e s h o l d a t w h i c h a n i n t e r r u p t w i l l b e s e t , w h i l e t h e p s _ t h _ l o r e g i s t e r t h e n s e t s t h e l o w e r t h r e s h o l d h y s t e r e s i s v a l u e w h e r e t h e i n t e r r u p t w o u l d b e c l e a r e d . s e t t i n g t h e p s _ h y s t _ t r i g l o w r e v e r s e s t h e f u n c t i o n s u c h t h a t t h e p s _ t h _ l o r e g i s t e r s e t s t h e l o w e r t h r e s h o l d a t w h i c h a n i n t e r r u p t w i l l b e s e t a n d t h e p s _ t h _ u p r e p r e s e n t s t h e h y s t e r e s i s v a l u e a t w h i c h t h e i n t e r r u p t w o u l d b e s u b s e q u e n t l y c l e a r e d . h y s t e r e s i s f u n c t i o n s o n l y a p p l y i n ? a u t o _ c l e a r ? i n t _ c o n f i g m o d e . t h e c o n t r o l l e r s o f t w a r e m u s t e n s u r e t h e s e t t i n g s f o r l e d c u r r e n t , s e n s i t i v i t y r a n g e , a n d i n t e g r a t i o n t i m e ( l e d p u l s e s ) a r e a p p r o p r i a t e f o r s e l e c t e d t h r e s h o l d s . s e t t i n g t h r e s h o l d s t o e x t r e m e s ( d e f a u l t ) e f f e c t i v e l y d i s a b l e s i n t e r r u p t s .
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 4 t a b l e 1 1 . p s _ t h _ u p r e g i s t e r s ( 0 x 1 0 ? 0 x 1 1 ) b i t 7 6 5 4 3 2 1 0 f i e l d p s _ t h _ u p _ m s b ( 0 x 1 0 ) , p s _ t h _ u p _ l s b ( 0 x 1 1 ) f i e l d b i t d e f a u l t d e s c r i p t i o n p s _ t h _ u p _ m s b 7 : 0 0 x f f u p p e r t h r e s h o l d f o r p r o x i m i t y d e t e c t i o n , m s b p s _ t h _ u p _ l s b 7 : 0 0 x f f u p p e r t h r e s h o l d f o r p r o x i m i t y d e t e c t i o n , l s b t a b l e 1 2 . p s _ t h _ l o r e g i s t e r s ( 0 x 1 2 ? 0 x 1 3 ) b i t 7 6 5 4 3 2 1 0 f i e l d p s _ t h _ l o _ m s b ( 0 x 1 2 ) , p s _ t h _ l o _ l s b ( 0 x 1 3 ) f i e l d b i t d e f a u l t d e s c r i p t i o n p s _ t h _ l o _ m s b 7 : 0 0 x 0 0 l o w e r t h r e s h o l d f o r p r o x i m i t y d e t e c t i o n , m s b p s _ t h _ l o _ l s b 7 : 0 0 x 0 0 l o w e r t h r e s h o l d f o r p r o x i m i t y d e t e c t i o n , l s b p s _ f i l t e r _ c o n f i g r e g i s t e r ( 0 x 1 4 ) p s _ f i l t e r _ c o n f i g r e g i s t e r p r o v i d e s a h a r d w a r e m e c h a n i s m t o f i l t e r o u t s i n g l e e v e n t o c c u r r e n c e s o r s i m i l a r a n o m a l i e s f r o m c a u s i n g u n w a n t e d i n t e r r u p t s . t w o 4 b i t r e g i s t e r s ( m a n d n ) c a n b e s e t w i t h v a l u e s s u c h t h a t m o u t o f n m e a s u r e m e n t s m u s t e x c e e d t h r e s h o l d s e t t i n g s i n o r d e r t o s e t a n i n t e r r u p t . t h e d e f a u l t s e t t i n g o f 1 o u t o f 1 e f f e c t i v e l y t u r n s t h e f i l t e r o f f a n d a n y s i n g l e m e a s u r e m e n t e x c e e d i n g t h r e s h o l d s c a n t r i g g e r a n i n t e r r u p t . ( n o t e a s e t t i n g o f 0 i s i n t e r p r e t e d t h e s a m e a s a 1 ) . t a b l e 1 3 . p s _ f i l t e r _ c o n f i g r e g i s t e r ( 0 x 1 4 ) b i t 7 6 5 4 3 2 1 0 f i e l d f i l t e r _ n f i l t e r _ m f i e l d b i t d e f a u l t d e s c r i p t i o n f i l t e r _ n 7 : 4 0 0 0 1 f i l t e r n f i l t e r _ m 3 : 0 0 0 0 1 f i l t e r m p s _ c o n f i g r e g i s t e r ( 0 x 1 5 ) p r o x i m i t y m e a s u r e m e n t s e n s i t i v i t y i s c o n t r o l l e d b y s p e c i f y i n g t h e i n t e g r a t i o n t i m e . t h e i n t e g r a t i o n t i m e s e t s t h e n u m b e r o f l e d p u l s e s d u r i n g t h e m o d u l a t e d i l l u m i n a t i o n . t h e l e d m o d u l a t i o n f r e q u e n c y r e m a i n s c o n s t a n t w i t h a p e r i o d o f 1 . 5  s . c h a n g i n g t h e i n t e g r a t i o n t i m e a f f e c t s t h e s e n s i t i v i t y o f t h e d e t e c t o r a n d d i r e c t l y a f f e c t s t h e p o w e r c o n s u m e d b y t h e l e d . t h e d e f a u l t i s 3 0 0  s i n t e g r a t i o n p e r i o d . h y s t _ e n a b l e a n d h y s t _ t r i g g e r w o r k w i t h t h e p s _ t h ( t h r e s h o l d ) s e t t i n g s t o p r o v i d e j i t t e r c o n t r o l o f t h e i n t f u n c t i o n . t a b l e 1 4 . p s _ c o n f i g r e g i s t e r ( 0 x 1 5 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a h y s t _ e n a b l e h y s t _ t r i g g e r n a n a i n t e g r a t i o n _ t i m e f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 6 x x d o n ? t c a r e h y s t _ e n a b l e 5 0 0 d i s a b l e s h y s t e r e s i s 1 e n a b l e s h y s t e r e s i s h y s t _ t r i g g e r 4 0 0 l o w e r t h r e s h o l d w i t h h y s t e r e s i s 1 u p p e r t h r e s h o l d w i t h h y s t e r e s i s n a 3 : 2 x d o n ? t c a r e i n t e g r a t i o n _ t i m e 1 : 0 0 1 0 0 1 5 0  s i n t e g r a t i o n t i m e 0 1 3 0 0  s i n t e g r a t i o n t i m e 1 0 6 0 0  s i n t e g r a t i o n t i m e 1 1 1 2 0 0  s i n t e g r a t i o n t i m e
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 5 p s _ i n t e r v a l r e g i s t e r ( 0 x 1 6 ) t h e p s _ i n t e r v a l r e g i s t e r s e t s t h e w a i t t i m e b e t w e e n c o n s e c u t i v e p r o x i m i t y m e a s u r e m e n t s i n p s _ r e p e a t m o d e . t h e r e g i s t e r i s b i n a r y w e i g h t e d t i m e s 5 i n m i l l i s e c o n d s w i t h t h e s p e c i a l c a s e t h a t t h e r e g i s t e r v a l u e 0 x 0 0 s p e c i f i e s 5 m s . t h e r a n g e i s t h e r e f o r e 5 m s t o 1 . 2 8 s . t h e d e f a u l t s t a r t u p v a l u e i s 0 x 0 a ( 5 0 m s ) . t a b l e 1 5 . p s _ i n t e r v a l r e g i s t e r ( 0 x 1 6 ) b i t 7 6 5 4 3 2 1 0 f i e l d i n t e r v a l f i e l d b i t d e f a u l t d e s c r i p t i o n i n t e r v a l 7 : 0 0 x 0 a 0 x 0 1 t o 0 x f f i n t e r v a l t i m e b e t w e e n m e a s u r e m e n t c y c l e s . b i n a r y w e i g h t e d v a l u e t i m e s 5 m s p l u s a 5 m s o f f s e t . p s _ c o n t r o l r e g i s t e r ( 0 x 1 7 ) t h e p s _ c o n t r o l r e g i s t e r i s u s e d t o c o n t r o l t h e f u n c t i o n a l m o d e a n d c o m m e n c e m e n t o f p r o x i m i t y s e n s o r m e a s u r e m e n t s . t h e p r o x i m i t y s e n s o r c a n b e o p e r a t e d i n e i t h e r a s i n g l e s h o t m o d e o r c o n s e c u t i v e m e a s u r e m e n t s t a k e n a t p r o g r a m m a b l e i n t e r v a l s . b o t h s i n g l e s h o t a n d r e p e a t m o d e s c o n s u m e a m i n i m u m o f p o w e r b y i m m e d i a t e l y t u r n i n g o f f l e d d r i v e r a n d s e n s o r c i r c u i t r y a f t e r e a c h m e a s u r e m e n t . i n b o t h c a s e s t h e q u i e s c e n t c u r r e n t i s l e s s t h a n t h e i d d s t b y p a r a m e t e r . t h e s e a u t o m a t i c p o w e r m a n a g e m e n t f e a t u r e s e l i m i n a t e t h e n e e d f o r p o w e r d o w n p i n s o r s p e c i a l p o w e r d o w n i n s t r u c t i o n s . t a b l e 1 6 . p s _ c o n t r o l r e g i s t e r ( 0 x 1 7 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a p s _ r e p e a t p s _ o n e s h o t f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 2 x x x x x x d o n ? t c a r e p s _ r e p e a t 1 0 i n i t i a t e s n e w m e a s u r e m e n t s a t p s _ i n t e r v a l r a t e s p s _ o n e s h o t 0 0 t r i g g e r s p r o x i m i t y s e n s i n g m e a s u r e m e n t . i n s i n g l e s h o t m o d e t h i s b i t c l e a r s i t s e l f a f t e r c y c l e c o m p l e t i o n . a l s _ t h r e g i s t e r s ( 0 x 2 0 ? 0 x 2 3 ) w i t h h y s t e r e s i s n o t e n a b l e d ( s e e a l s _ c o n f i g r e g i s t e r ) , t h e a l s _ t h r e g i s t e r s s e t t h e u p p e r a n d l o w e r i n t e r r u p t t h r e s h o l d s o f t h e a m b i e n t l i g h t d e t e c t i o n w i n d o w . i n t e r r u p t f u n c t i o n s c o m p a r e t h e s e t h r e s h o l d v a l u e s t o d a t a f r o m t h e a l s _ d a t a r e g i s t e r s . m e a s u r e d a l s _ d a t a v a l u e s o u t s i d e t h i s w i n d o w w i l l s e t a n i n t e r r u p t a c c o r d i n g t o t h e i n t _ c o n f i g r e g i s t e r s e t t i n g s . w i t h h y s t e r e s i s e n a b l e d , t h r e s h o l d s e t t i n g s t a k e o n a d i f f e r e n t m e a n i n g . i f t h e a l s _ h y s t _ t r i g i s s e t , t h e a l s _ t h _ u p r e g i s t e r s e t s t h e u p p e r t h r e s h o l d a t w h i c h a n i n t e r r u p t w i l l b e s e t , w h i l e t h e a l s _ t h _ l o r e g i s t e r t h e n s e t s t h e l o w e r t h r e s h o l d h y s t e r e s i s v a l u e w h e r e t h e i n t e r r u p t w o u l d b e c l e a r e d . s e t t i n g t h e a l s _ h y s t _ t r i g l o w r e v e r s e s t h e f u n c t i o n s u c h t h a t t h e a l s _ t h _ l o r e g i s t e r s e t s t h e l o w e r t h r e s h o l d a t w h i c h a n i n t e r r u p t w i l l b e s e t a n d t h e a l s _ t h _ u p r e p r e s e n t s t h e h y s t e r e s i s v a l u e a t w h i c h t h e i n t e r r u p t w o u l d b e s u b s e q u e n t l y c l e a r e d . h y s t e r e s i s f u n c t i o n s o n l y a p p l y i n ? a u t o _ c l e a r ? i n t _ c o n f i g m o d e . t a b l e 1 7 . a l s _ t h _ u p r e g i s t e r s ( 0 x 2 0 ? 0 x 2 1 ) b i t 7 6 5 4 3 2 1 0 f i e l d a l s _ t h _ u p _ m s b ( 0 x 2 0 ) , a l s _ t h _ u p _ l s b ( 0 x 2 1 ) f i e l d b i t d e f a u l t d e s c r i p t i o n a l s _ t h _ u p _ m s b 7 : 0 0 x f f u p p e r t h r e s h o l d f o r a l s d e t e c t i o n , m s b a l s _ t h _ u p _ l s b 7 : 0 0 x f f u p p e r t h r e s h o l d f o r a l s d e t e c t i o n , l s b
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 6 t a b l e 1 8 . a l s _ t h _ l o r e g i s t e r s ( 0 x 2 2 ? 0 x 2 3 ) b i t 7 6 5 4 3 2 1 0 f i e l d a l s _ t h _ l o _ m s b ( 0 x 2 2 ) , a l s _ t h _ l o _ l s b ( 0 x 2 3 ) f i e l d b i t d e f a u l t d e s c r i p t i o n a l s _ t h _ l o _ m s b 7 : 0 0 x 0 0 l o w e r t h r e s h o l d f o r a l s d e t e c t i o n , m s b a l s _ t h _ l o _ l s b 7 : 0 0 x 0 0 l o w e r t h r e s h o l d f o r a l s d e t e c t i o n , l s b a l s _ c o n f i g r e g i s t e r ( 0 x 2 5 ) t h e a l s _ c o n f i g r e g i s t e r c o n t r o l s t h e a m b i e n t l i g h t m e a s u r e m e n t s e n s i t i v i t y b y s p e c i f y i n g t h e i n t e g r a t i o n t i m e . h y s t _ e n a b l e a n d h y s t _ t r i g g e r w o r k w i t h t h e a l s _ t h ( t h r e s h o l d ) s e t t i n g s t o p r o v i d e j i t t e r c o n t r o l o f t h e i n t f u n c t i o n . i n t e g r a t i o n t i m e s b e l o w 5 0 m s a r e n o t r e c o m m e n d e d f o r n o r m a l o p e r a t i o n a s 5 0 / 6 0 h z r e j e c t i o n w i l l b e i m p a c t e d . t h e y m a y b e u s e d i n t e s t i n g o r i f 5 0 / 6 0 h z r e j e c t i o n i s n o t a c o n c e r n . t a b l e 1 9 . a l s _ c o n f i g r e g i s t e r ( 0 x 2 5 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a h y s t _ e n a b l e h y s t _ t r i g g e r r e s e r v e d i n t e g r a t i o n _ t i m e f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 6 x x d o n ? t c a r e h y s t _ e n a b l e 5 0 0 d i s a b l e s h y s t e r e s i s 1 e n a b l e s h y s t e r e s i s h y s t _ t r i g g e r 4 0 0 l o w e r t h r e s h o l d w i t h h y s t e r e s i s 1 u p p e r t h r e s h o l d w i t h h y s t e r e s i s r e s e r v e d 3 0 m u s t b e s e t t o 0 i n t e g r a t i o n _ t i m e 2 : 0 1 0 0 0 0 0 6 . 2 5 m s i n t e g r a t i o n t i m e 0 0 1 1 2 . 5 m s i n t e g r a t i o n t i m e 0 1 0 2 5 m s i n t e g r a t i o n t i m e 0 1 1 5 0 m s i n t e g r a t i o n t i m e 1 0 0 1 0 0 m s i n t e g r a t i o n t i m e 1 0 1 2 0 0 m s i n t e g r a t i o n t i m e 1 1 0 4 0 0 m s i n t e g r a t i o n t i m e 1 1 1 8 0 0 m s i n t e g r a t i o n t i m e a l s _ i n t e r v a l r e g i s t e r ( 0 x 2 6 ) t h e a l s _ i n t e r v a l r e g i s t e r s e t s t h e i n t e r v a l b e t w e e n c o n s e c u t i v e a l s m e a s u r e m e n t s i n a l s _ r e p e a t m o d e . t h e r e g i s t e r i s b i n a r y w e i g h t e d t i m e s 5 0 i n m i l l i s e c o n d s . t h e r a n g e i s 0 m s t o 3 . 1 5 s . t h e r e g i s t e r v a l u e 0 x 0 0 a n d 0 m s t r a n s l a t e s i n t o a c o n t i n u o u s l o o p m e a s u r e m e n t m o d e a t a n y i n t e g r a t i o n t i m e . t h e d e f a u l t s t a r t u p v a l u e i s 0 x 0 a ( 5 0 0 m s ) . t a b l e 2 0 . a l s _ i n t e r v a l r e g i s t e r ( 0 x 2 6 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a i n t e r v a l f i e l d b i t d e f a u l t d e s c r i p t i o n i n t e r v a l 5 : 0 0 x 0 a i n t e r v a l t i m e b e t w e e n a l s m e a s u r e m e n t c y c l e s
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 7 a l s _ c o n t r o l r e g i s t e r ( 0 x 2 7 ) t h e a l s _ c o n t r o l r e g i s t e r i s u s e d t o c o n t r o l t h e f u n c t i o n a l m o d e a n d c o m m e n c e m e n t o f a m b i e n t l i g h t s e n s o r m e a s u r e m e n t s . t h e a m b i e n t l i g h t s e n s o r c a n b e o p e r a t e d i n e i t h e r a s i n g l e s h o t m o d e o r c o n s e c u t i v e m e a s u r e m e n t s t a k e n a t p r o g r a m m a b l e i n t e r v a l s . b o t h s i n g l e s h o t a n d r e p e a t m o d e s c o n s u m e a m i n i m u m o f p o w e r b y i m m e d i a t e l y t u r n i n g o f f s e n s o r c i r c u i t r y a f t e r e a c h m e a s u r e m e n t . i n b o t h c a s e s t h e q u i e s c e n t c u r r e n t i s l e s s t h a n t h e i d d s t b y p a r a m e t e r . t h e s e a u t o m a t i c p o w e r m a n a g e m e n t f e a t u r e s e l i m i n a t e t h e n e e d f o r p o w e r d o w n p i n s o r s p e c i a l p o w e r d o w n i n s t r u c t i o n s . f o r a c c u r a t e m e a s u r e m e n t s a t l o w l i g h t l e v e l s ( b e l o w a p p r o x i m a t e l y 3 l u x ) a l s r e a d i n g s m u s t b e t a k e n a t l e a s t o n c e p e r s e c o n d a n d t h e f i r s t m e a s u r e m e n t a f t e r a r e s e t ( s o f t w a r e r e s e t o r p o w e r c y c l i n g ) s h o u l d b e i g n o r e d . t a b l e 2 1 . a l s _ c o n t r o l r e g i s t e r ( 0 x 2 7 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a a l s _ r e p e a t a l s _ o n e s h o t f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 2 x x x x x x d o n ? t c a r e a l s _ r e p e a t 1 0 i n i t i a t e s n e w m e a s u r e m e n t s a t a l s _ i n t e r v a l r a t e s a l s _ o n e s h o t 0 0 t r i g g e r s a l s s e n s i n g m e a s u r e m e n t . i n s i n g l e s h o t m o d e t h i s b i t c l e a r s i t s e l f a f t e r c y c l e c o m p l e t i o n . i n t e r r u p t r e g i s t e r ( 0 x 4 0 ) t h e i n t e r r u p t r e g i s t e r d i s p l a y s t h e s t a t u s o f t h e i n t e r r u p t p i n a n d i f a n i n t e r r u p t w a s c a u s e d b y t h e p r o x i m i t y o r a m b i e n t l i g h t s e n s o r . i f ? a u t o _ c l e a r ? i s d i s a b l e d ( s e e i n t _ c o n f i g r e g i s t e r ) , r e a d i n g t h i s r e g i s t e r a l s o w i l l c l e a r t h e i n t e r r u p t . t a b l e 2 2 . i n t e r r u p t r e g i s t e r ( 0 x 4 0 ) b i t 7 6 5 4 3 2 1 0 f i e l d n a i n t a l s _ i n t h a l s _ i n t l p s _ i n t h p s _ i n t l f i e l d b i t d e f a u l t d e s c r i p t i o n n a 7 : 5 x x x d o n ? t c a r e i n t 4 0 s t a t u s o f e x t e r n a l i n t e r r u p t p i n ( 1 i s a s s e r t e d ) a l s _ i n t h 3 0 i n t e r r u p t c a u s e d b y a l s e x c e e d i n g m a x i m u m a l s _ i n t l 2 0 i n t e r r u p t c a u s e d b y a l s f a l l i n g b e l o w t h e m i n i m u m p s _ i n t h 1 0 i n t e r r u p t c a u s e d b y p s e x c e e d i n g m a x i m u m p s _ i n t l 0 0 i n t e r r u p t c a u s e d b y p s f a l l i n g b e l o w t h e m i n i m u m p s _ d a t a r e g i s t e r s ( 0 x 4 1 ? 0 x 4 2 ) t h e p s _ d a t a r e g i s t e r s s t o r e r e s u l t s f r o m c o m p l e t e d p r o x i m i t y m e a s u r e m e n t s . w h e n a n i 2 c r e a d o p e r a t i o n b e g i n s , t h e c u r r e n t p s _ d a t a r e g i s t e r s a r e l o c k e d u n t i l t h e o p e r a t i o n i s c o m p l e t e ( i 2 c _ s t o p r e c e i v e d ) t o p r e v e n t p o s s i b l e d a t a c o r r u p t i o n f r o m a c o n c u r r e n t m e a s u r e m e n t c y c l e . t a b l e 2 3 . p s _ d a t a r e g i s t e r s ( 0 x 4 1 ? 0 x 4 2 ) b i t 7 6 5 4 3 2 1 0 f i e l d p s _ d a t a _ m s b ( 0 x 4 1 ) , p s _ d a t a _ l s b ( 0 x 4 2 ) f i e l d b i t d e f a u l t d e s c r i p t i o n p s _ d a t a _ m s b 7 : 0 0 x 0 0 p r o x i m i t y m e a s u r e m e n t d a t a , m s b p s _ d a t a _ l s b 7 : 0 0 x 0 0 p r o x i m i t y m e a s u r e m e n t d a t a , l s b
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 8 a l s _ d a t a r e g i s t e r s ( 0 x 4 3 ? 0 x 4 4 ) t h e a l s _ d a t a r e g i s t e r s s t o r e r e s u l t s f r o m c o m p l e t e d a l s m e a s u r e m e n t s . w h e n a n i 2 c r e a d o p e r a t i o n b e g i n s , t h e c u r r e n t a l s _ d a t a r e g i s t e r s a r e l o c k e d u n t i l t h e o p e r a t i o n i s c o m p l e t e ( i 2 c _ s t o p r e c e i v e d ) t o p r e v e n t p o s s i b l e d a t a c o r r u p t i o n f r o m a c o n c u r r e n t m e a s u r e m e n t c y c l e . t a b l e 2 4 . a l s _ d a t a r e g i s t e r s ( 0 x 4 3 ? 0 x 4 4 ) b i t 7 6 5 4 3 2 1 0 f i e l d a l s _ d a t a _ m s b ( 0 x 4 3 ) , a l s _ d a t a _ l s b ( 0 x 4 4 ) f i e l d b i t d e f a u l t d e s c r i p t i o n a l s _ d a t a _ m s b 7 : 0 0 x 0 0 a l s m e a s u r e m e n t d a t a , m s b a l s _ d a t a _ l s b 7 : 0 0 x 0 0 a l s m e a s u r e m e n t d a t a , l s b
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 1 9 p r o x i m i t y s e n s o r o p e r a t i o n n o a 3 3 0 2 o p e r a t i o n i s d i v i d e d i n t o t h r e e p h a s e s : p o w e r u p , c o n f i g u r a t i o n a n d o p e r a t i o n . o n p o w e r u p t h e d e v i c e i n i t i a t e s a r e s e t w h i c h i n i t i a l i z e s t h e c o n f i g u r a t i o n r e g i s t e r s t o t h e i r d e f a u l t v a l u e s a n d p u t s t h e d e v i c e i n t h e s t a n d b y s t a t e . a t a n y t i m e , t h e h o s t s y s t e m m a y i n i t i a t e a s o f t w a r e r e s e t b y w r i t i n g 0 x 0 1 t o r e g i s t e r 0 x 0 1 . a s o f t w a r e r e s e t p e r f o r m s t h e s a m e f u n c t i o n a s a p o w e r - o n - r e s e t . t h e c o n f i g u r a t i o n p h a s e m a y b e s k i p p e d i f t h e d e f a u l t r e g i s t e r v a l u e s a r e a c c e p t a b l e , b u t t y p i c a l l y i t i s d e s i r a b l e t o c h a n g e s o m e o r a l l o f t h e c o n f i g u r a t i o n r e g i s t e r v a l u e s . c o n f i g u r a t i o n i s a c c o m p l i s h e d b y w r i t i n g t h e d e s i r e d c o n f i g u r a t i o n v a l u e s t o r e g i s t e r s 0 x 0 2 t h r o u g h 0 x 1 7 . w r i t i n g t o c o n f i g u r a t i o n r e g i s t e r s c a n b e d o n e w i t h e i t h e r i n d i v i d u a l i 2 c b y t e - w r i t e c o m m a n d s o r w i t h o n e o r m o r e i 2 c b l o c k w r i t e c o m m a n d s . b l o c k w r i t e c o m m a n d s s p e c i f y t h e f i r s t r e g i s t e r a d d r e s s a n d t h e n w r i t e m u l t i p l e b y t e s o f d a t a i n s e q u e n c e . t h e n o a 3 3 0 2 a u t o m a t i c a l l y i n c r e m e n t s t h e r e g i s t e r a d d r e s s a s i t a c k n o w l e d g e s e a c h b y t e t r a n s f e r . p r o x i m i t y s e n s o r m e a s u r e m e n t i s i n i t i a t e d b y w r i t i n g a p p r o p r i a t e v a l u e s t o t h e c o n t r o l r e g i s t e r ( 0 x 1 7 ) . s e n d i n g a n i 2 c _ s t o p s e q u e n c e a t t h e e n d o f t h e w r i t e s i g n a l s t h e i n t e r n a l s t a t e m a c h i n e s t o w a k e u p a n d b e g i n t h e n e x t m e a s u r e m e n t c y c l e . f i g u r e s 2 3 a n d 2 4 i l l u s t r a t e t h e a c t i v i t y o f k e y s i g n a l s d u r i n g a p r o x i m i t y s e n s o r m e a s u r e m e n t c y c l e . t h e c y c l e b e g i n s b y s t a r t i n g t h e p r e c i s i o n o s c i l l a t o r a n d p o w e r i n g u p a n d c a l i b r a t i n g t h e p r o x i m i t y s e n s o r r e c e i v e r . n e x t , t h e i r l e d c u r r e n t i s m o d u l a t e d a c c o r d i n g t o t h e l e d c u r r e n t s e t t i n g a t t h e c h o s e n l e d f r e q u e n c y a n d t h e v a l u e s d u r i n g b o t h t h e o n a n d o f f t i m e s o f t h e l e d a r e s t o r e d ( i l l u m i n a t e d a n d a m b i e n t v a l u e s ) . f i n a l l y , t h e p r o x i m i t y r e a d i n g i s c a l c u l a t e d b y s u b t r a c t i n g t h e a m b i e n t v a l u e f r o m t h e i l l u m i n a t e d v a l u e a n d s t o r i n g t h e r e s u l t i n t h e 1 6 b i t p s _ d a t a r e g i s t e r . i n o n e - s h o t m o d e , t h e p s r e c e i v e r i s t h e n p o w e r e d d o w n a n d t h e o s c i l l a t o r i s s t o p p e d ( u n l e s s t h e r e i s a n a c t i v e a l s m e a s u r e m e n t ) . i f r e p e a t m o d e i s s e t , t h e p s r e c e i v e r i s p o w e r e d d o w n f o r t h e s p e c i f i e d i n t e r v a l a n d t h e p r o c e s s i s r e p e a t e d . w i t h d e f a u l t c o n f i g u r a t i o n v a l u e s ( r e c e i v e r i n t e g r a t i o n t i m e = 3 0 0  s ) , t h e t o t a l m e a s u r e m e n t c y c l e w i l l b e l e s s t h a n 2 m s . f i g u r e 2 3 . p r o x i m i t y s e n s o r o n e ? s h o t t i m i n g 9  s i 2 c s t o p p s p o w e r 4 m h z o s c o n l e d b u r s t i n t e g r a t i o n d a t a a v a i l a b l e 5 0 ? 2 0 0  s ~ 6 0 0  s 8 c l k s 1 2  s i n t e g r a t i o n t i m e 0 ? 1 0 0  s 1 0 0 ? 1 5 0  s f i g u r e 2 4 . p r o x i m i t y s e n s o r r e p e a t t i m i n g i n t e r v a l ( r e p e a t ) 9  s i 2 c s t o p p s p o w e r 4 m h z o s c o n l e d b u r s t i n t e g r a t i o n d a t a a v a i l a b l e 5 0 ? 2 0 0  s ~ 6 0 0  s 8 c l k s 1 2  s i n t e g r a t i o n t i m e 0 ? 1 0 0  s 1 0 0 ? 1 5 0  s
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 2 0 a m b i e n t l i g h t s e n s o r o p e r a t i o n t h e a l s c o n f i g u r a t i o n i s a c c o m p l i s h e d b y w r i t i n g t h e d e s i r e d c o n f i g u r a t i o n v a l u e s t o r e g i s t e r s 0 x 0 2 a n d 0 x 2 0 t h r o u g h 0 x 2 7 . w r i t i n g t o c o n f i g u r a t i o n r e g i s t e r s c a n b e d o n e w i t h e i t h e r i n d i v i d u a l i 2 c b y t e ? w r i t e c o m m a n d s o r w i t h o n e o r m o r e i 2 c b l o c k w r i t e c o m m a n d s . b l o c k w r i t e c o m m a n d s s p e c i f y t h e f i r s t r e g i s t e r a d d r e s s a n d t h e n w r i t e m u l t i p l e b y t e s o f d a t a i n s e q u e n c e . t h e n o a 3 3 0 2 a u t o m a t i c a l l y i n c r e m e n t s t h e r e g i s t e r a d d r e s s a s i t a c k n o w l e d g e s e a c h b y t e t r a n s f e r . a l s m e a s u r e m e n t i s i n i t i a t e d b y w r i t i n g a p p r o p r i a t e v a l u e s t o t h e c o n t r o l r e g i s t e r ( 0 x 2 7 ) . s e n d i n g a n i 2 c _ s t o p s e q u e n c e a t t h e e n d o f t h e w r i t e s i g n a l s t h e i n t e r n a l s t a t e m a c h i n e s t o w a k e u p a n d b e g i n t h e n e x t m e a s u r e m e n t c y c l e . f i g u r e s 2 5 a n d 2 6 i l l u s t r a t e t h e a c t i v i t y o f k e y s i g n a l s d u r i n g a n a m b i e n t l i g h t s e n s o r m e a s u r e m e n t c y c l e . t h e c y c l e b e g i n s b y s t a r t i n g t h e p r e c i s i o n o s c i l l a t o r a n d p o w e r i n g u p t h e a m b i e n t l i g h t s e n s o r . n e x t , t h e a m b i e n t l i g h t m e a s u r e m e n t i s m a d e f o r t h e s p e c i f i e d i n t e g r a t i o n t i m e a n d t h e r e s u l t i s s t o r e d i n t h e 1 6 b i t a l s d a t a r e g i s t e r . i f i n o n e ? s h o t m o d e , t h e a l s i s p o w e r e d d o w n a n d a w a i t s t h e n e x t c o m m a n d . i f i n r e p e a t m o d e t h e a l s i s p o w e r e d d o w n , t h e i n t e r v a l i s t i m e d o u t a n d t h e o p e r a t i o n r e p e a t e d . t h e r e a r e s o m e s p e c i a l c a s e s i f t h e i n t e r v a l t i m e r i s s e t t o l e s s t h a n t h e i n t e g r a t i o n t i m e . f o r c o n t i n u o u s m o d e , t h e i n t e r v a l i s s e t t o 0 a n d t h e a l s m a k e s c o n t i n u o u s m e a s u r e m e n t s w i t h o n l y a 5  s d e l a y b e t w e e n i n t e g r a t i o n t i m e s a n d t h e a l s r e m a i n s p o w e r e d u p . i f t h e i n t e r v a l i s s e t e q u a l t o o r l e s s t h a n t h e i n t e g r a t i o n t i m e ( b u t n o t t o 0 ) , t h e r e i s a 1 0 m s t i m e b e t w e e n i n t e g r a t i o n s a n d t h e a l s r e m a i n s p o w e r e d u p . i 2 c s t o p a l s p o w e r 4 m h z o s c o n i n t e g r a t i o n d a t a a v a i l a b l e 1 0 m s i n t e g r a t i o n t i m e 5  s f i g u r e 2 5 . a l s o n e ? s h o t t i m i n g 5 0 ? 1 0 0  s 1 0 0 ? 1 5 0  s 1 5 0 ? 2 0 0  s i n t e r v a l ( r e p e a t ) i 2 c s t o p a l s p o w e r 4 m h z o s c o n i n t e g r a t i o n d a t a a v a i l a b l e 0 ? 2 5 m s 1 0 m s i n t e g r a t i o n t i m e 5  s f i g u r e 2 6 . a l s r e p e a t t i m i n g 5 0 ? 1 0 0  s 1 0 0 ? 1 5 0  s n o t e : i f i n t e r v a l i s s e t t o 0 ( c o n t i n u o u s ) t h e t i m e b e t w e e n i n t e g r a t i o n s i s 5  s a n d p o w e r s t a y s o n . i f i n t e r v a l i s s e t t o  t o t h e i n t e g r a t i o n t i m e ( b u t n o t 0 ) t h e t i m e b e t w e e n i n t e g r a t i o n s i s 1 0 m s a n d p o w e r s t a y s o n . i f i n t e r v a l i s s e t t o > i n t e g r a t i o n t i m e t h e t i m e b e t w e e n i n t e g r a t i o n s i s t h e i n t e r v a l a n d t h e a l s p o w e r s d o w n .
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 2 1 e x a m p l e p r o g r a m m i n g s e q u e n c e t h e f o l l o w i n g p s e u d o c o d e c o n f i g u r e s t h e n o a 3 3 0 2 p r o x i m i t y s e n s o r i n r e p e a t m o d e w i t h 5 0 m s w a i t t i m e b e t w e e n e a c h m e a s u r e m e n t a n d t h e n r u n s i t i n a n i n t e r r u p t d r i v e n m o d e . w h e n t h e c o n t r o l l e r r e c e i v e s a n i n t e r r u p t , t h e i n t e r r u p t d e t e r m i n e s i f t h e i n t e r r u p t s w a s c a u s e d b y t h e p r o x i m i t y s e n s o r a n d i f s o , r e a d s t h e p s _ d a t a f r o m t h e d e v i c e , s e t s a f l a g a n d t h e n w a i t s f o r t h e m a i n p o l l i n g l o o p t o r e s p o n d t o t h e p r o x i m i t y c h a n g e . e x t e r n a l s u b r o u t i n e i 2 c _ r e a d _ b y t e ( i 2 c _ a d d r e s s , d a t a _ a d d r e s s ) ; e x t e r n a l s u b r o u t i n e i 2 c _ r e a d _ b l o c k ( i 2 c _ a d d r e s s , d a t a _ s t a r t _ a d d r e s s , c o u n t , m e m o r y _ m a p ) ; e x t e r n a l s u b r o u t i n e i 2 c _ w r i t e _ b y t e ( i 2 c _ a d d r e s s , d a t a _ a d d r e s s , d a t a ) ; e x t e r n a l s u b r o u t i n e i 2 c _ w r i t e _ b l o c k ( i 2 c _ a d d r e s s , d a t a _ s t a r t _ a d d r e s s , c o u n t , m e m o r y _ m a p ) ; s u b r o u t i n e i n i t i a l i z e _ p s ( ) { m e m b u f [ 0 x 0 2 ] = 0 x 0 2 ; / / i n t _ c o n f i g a s s e r t i n t e r r u p t u n t i l c l e a r e d m e m b u f [ 0 x 0 f ] = 0 x 0 9 ; / / p s _ l e d _ c u r r e n t 5 0 m a m e m b u f [ 0 x 1 0 ] = 0 x 8 f ; / / p s _ t h _ u p _ m s b m e m b u f [ 0 x 1 1 ] = 0 x f f ; / / p s _ t h _ u p _ l s b m e m b u f [ 0 x 1 2 ] = 0 x 7 0 ; / / p s _ t h _ l o _ m s b m e m b u f [ 0 x 1 3 ] = 0 x 0 0 ; / / p s _ t h _ l o _ l s b m e m b u f [ 0 x 1 4 ] = 0 x 1 1 ; / / p s _ f i l t e r _ c o n f i g t u r n o f f f i l t e r i n g m e m b u f [ 0 x 1 5 ] = 0 x 0 1 ; / / p s _ c o n f i g 3 0 0 u s i n t e g r a t i o n t i m e m e m b u f [ 0 x 1 6 ] = 0 x 0 a ; / / p s _ i n t e r v a l 5 0 m s w a i t m e m b u f [ 0 x 1 7 ] = 0 x 0 2 ; / / p s _ c o n t r o l e n a b l e c o n t i n u o u s p s m e a s u r e m e n t s m e m b u f [ 0 x 2 0 ] = 0 x f f ; / / a l s _ t h _ u p _ m s b m e m b u f [ 0 x 2 1 ] = 0 x f f ; / / a l s _ t h _ u p _ l s b m e m b u f [ 0 x 2 2 ] = 0 x 0 0 ; / / a l s _ t h _ l o _ m s b m e m b u f [ 0 x 2 3 ] = 0 x 0 0 ; / / a l s _ t h _ l o _ l s b m e m b u f [ 0 x 2 5 ] = 0 x 0 4 ; / / a l s _ c o n f i g 1 0 0 m s i n t e g r a t i o n t i m e m e m b u f [ 0 x 2 6 ] = 0 x 0 0 ; / / a l s _ i n t e r v a l c o n t i n u o u s m e a s u r e m e n t m o d e m e m b u f [ 0 x 2 7 ] = 0 x 0 2 ; / / a l s _ c o n t r o l e n a b l e c o n t i n u o u s a l s m e a s u r e m e n t s i 2 c _ w r i t e _ b l o c k ( i 2 c a d d r , 0 x 0 2 , 3 7 , m e m b u f ) ; }s u b r o u t i n e i 2 c _ i n t e r u p t _ h a n d l e r ( ) { / / v e r i f y t h i s i s a p s i n t e r r u p t i n t = i 2 c _ r e a d _ b y t e ( i 2 c a d d r , 0 x 4 0 ) ; i f ( i n t = = 0 x 1 1 | | i n t = = 0 x 1 2 ) { / / r e t r i e v e a n d s t o r e t h e p s d a t a p s _ d a t a _ m s b = i 2 c _ r e a d _ b y t e ( i 2 c a d d r , 0 x 4 1 ) ; p s _ d a t a _ l s b = i 2 c _ r e a d _ b y t e ( i 2 c a d d r , 0 x 4 2 ) ; n e w p s = 0 x 0 1 ; } } s u b r o u t i n e m a i n _ l o o p ( ) { i 2 c a d d r = 0 x 3 7 ; n e w p s = 0 x 0 0 ; i n i t i a l i z e _ p s ( ) ; l o o p { / / d o s o m e o t h e r p o l l i n g o p e r a t i o n s i f ( n e w p s = = 0 x 0 1 ) { n e w p s = 0 x 0 0 ; / / d o s o m e o p e r a t i o n s w i t h p s _ d a t a } } }
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 2 2 p h y s i c a l l o c a t i o n o f p h o t o d i o d e s e n s o r s t h e p h y s i c a l l o c a t i o n s o f t h e n o a 3 3 0 2 p r o x i m i t y s e n s o r a n d a m b i e n t l i g h t s e n s o r p h o t o d i o d e s a r e s h o w n i n f i g u r e 2 7 . 1 . 0 6 m m 0 . 8 8 m m 1 . 1 m m p s a l s p i n 1 0 . 1 0 m m 0 . 1 0 m m f i g u r e 2 7 . p h o t o d i o d e l o c a t i o n s x 0 . 1 5 m m 0 . 1 5 m m x
n o a 3 3 0 2 h t t p : / / o n s e m i . c o m 2 3 p a c k a g e d i m e n s i o n s c w d f n 8 , 2 x 2 , 0 . 5 p c a s e 5 0 5 a j i s s u e o m o u n t i n g f o o t p r i n t * d i m e n s i o n s : m i l l i m e t e r s * f o r a d d i t i o n a l i n f o r m a t i o n o n o u r p b ? f r e e s t r a t e g y a n d s o l d e r i n g d e t a i l s , p l e a s e d o w n l o a d t h e o n s e m i c o n d u c t o r s o l d e r i n g a n d m o u n t i n g t e c h n i q u e s r e f e r e n c e m a n u a l , s o l d e r r m / d . 8 x 0 . 5 2 0 . 5 0 p i t c h 1 . 7 0 2 . 3 0 8 x 0 . 2 7 1 . 0 0 1 r e c o m m e n d e d n o t e s : 1 . d i m e n s i o n i n g a n d t o l e r a n c i n g p e r a s m e y 1 4 . 5 m , 1 9 9 4 . 2 . c o n t r o l l i n g d i m e n s i o n : m i l l i m e t e r s . 3 . d i m e n s i o n b a p p l i e s t o p l a t e d t e r m i n a l a n d i s m e a s u r e d b e t w e e n 0 . 1 0 a n d 0 . 2 0 m m f r o m t h e t e r m i n a l t i p . 4 . c o p l a n a r i t y a p p l i e s t o t h e e x p o s e d p a d a s w e l l a s t h e t e r m i n a l s . a d e b c 0 . 1 0 p i n o n e r e f e r e n c e 2 x t o p v i e w s i d e v i e w b o t t o m v i e w l d 2 e 2 c c 0 . 0 5 c 0 . 0 8 a 1 s e a t i n g p l a n e 8 x n o t e 3 b 8 x 0 . 1 0 c 0 . 0 5 c a b b d i m m i n m a x m i l l i m e t e r s a 0 . 6 0 0 . 7 0 a 1 0 . 0 0 0 . 0 5 b 0 . 1 5 0 . 2 5 d 2 . 0 0 b s c d 2 1 . 4 5 1 . 7 0 e 2 . 0 0 b s c e 2 0 . 7 5 1 . 0 0 e 0 . 5 0 b s c l 0 . 2 0 0 . 4 0 1 4 8 n o t e 4 a 3 0 . 2 0 r e f a 3 a k 0 . 1 5 ??? e 5 k e / 2 c 0 . 1 0 2 x o n s e m i c o n d u c t o r a n d a r e r e g i s t e r e d t r a d e m a r k s o f s e m i c o n d u c t o r c o m p o n e n t s i n d u s t r i e s , l l c ( s c i l l c ) . s c i l l c o w n s t h e r i g h t s t o a n u m b e r o f p a t e n t s , t r a d e m a r k s , c o p y r i g h t s , t r a d e s e c r e t s , a n d o t h e r i n t e l l e c t u a l p r o p e r t y . a l i s t i n g o f s c i l l c ? s p r o d u c t / p a t e n t c o v e r a g e m a y b e a c c e s s e d a t w w w . o n s e m i . c o m / s i t e / p d f / p a t e n t ? m a r k i n g . p d f . s c i l l c r e s e r v e s t h e r i g h t t o m a k e c h a n g e s w i t h o u t f u r t h e r n o t i c e t o a n y p r o d u c t s h e r e i n . s c i l l c m a k e s n o w a r r a n t y , r e p r e s e n t a t i o n o r g u a r a n t e e r e g a r d i n g t h e s u i t a b i l i t y o f i t s p r o d u c t s f o r a n y p a r t i c u l a r p u r p o s e , n o r d o e s s c i l l c a s s u m e a n y l i a b i l i t y a r i s i n g o u t o f t h e a p p l i c a t i o n o r u s e o f a n y p r o d u c t o r c i r c u i t , a n d s p e c i f i c a l l y d i s c l a i m s a n y a n d a l l l i a b i l i t y , i n c l u d i n g w i t h o u t l i m i t a t i o n s p e c i a l , c o n s e q u e n t i a l o r i n c i d e n t a l d a m a g e s . ? t y p i c a l ? p a r a m e t e r s w h i c h m a y b e p r o v i d e d i n s c i l l c d a t a s h e e t s a n d / o r s p e c i f i c a t i o n s c a n a n d d o v a r y i n d i f f e r e n t a p p l i c a t i o n s a n d a c t u a l p e r f o r m a n c e m a y v a r y o v e r t i m e . a l l o p e r a t i n g p a r a m e t e r s , i n c l u d i n g ? t y p i c a l s ? m u s t b e v a l i d a t e d f o r e a c h c u s t o m e r a p p l i c a t i o n b y c u s t o m e r ? s t e c h n i c a l e x p e r t s . s c i l l c d o e s n o t c o n v e y a n y l i c e n s e u n d e r i t s p a t e n t r i g h t s n o r t h e r i g h t s o f o t h e r s . s c i l l c p r o d u c t s a r e n o t d e s i g n e d , i n t e n d e d , o r a u t h o r i z e d f o r u s e a s c o m p o n e n t s i n s y s t e m s i n t e n d e d f o r s u r g i c a l i m p l a n t i n t o t h e b o d y , o r o t h e r a p p l i c a t i o n s i n t e n d e d t o s u p p o r t o r s u s t a i n l i f e , o r f o r a n y o t h e r a p p l i c a t i o n i n w h i c h t h e f a i l u r e o f t h e s c i l l c p r o d u c t c o u l d c r e a t e a s i t u a t i o n w h e r e p e r s o n a l i n j u r y o r d e a t h m a y o c c u r . s h o u l d b u y e r p u r c h a s e o r u s e s c i l l c p r o d u c t s f o r a n y s u c h u n i n t e n d e d o r u n a u t h o r i z e d a p p l i c a t i o n , b u y e r s h a l l i n d e m n i f y a n d h o l d s c i l l c a n d i t s o f f i c e r s , e m p l o y e e s , s u b s i d i a r i e s , a f f i l i a t e s , a n d d i s t r i b u t o r s h a r m l e s s a g a i n s t a l l c l a i m s , c o s t s , d a m a g e s , a n d e x p e n s e s , a n d r e a s o n a b l e a t t o r n e y f e e s a r i s i n g o u t o f , d i r e c t l y o r i n d i r e c t l y , a n y c l a i m o f p e r s o n a l i n j u r y o r d e a t h a s s o c i a t e d w i t h s u c h u n i n t e n d e d o r u n a u t h o r i z e d u s e , e v e n i f s u c h c l a i m a l l e g e s t h a t s c i l l c w a s n e g l i g e n t r e g a r d i n g t h e d e s i g n o r m a n u f a c t u r e o f t h e p a r t . s c i l l c i s a n e q u a l o p p o r t u n i t y / a f f i r m a t i v e a c t i o n e m p l o y e r . t h i s l i t e r a t u r e i s s u b j e c t t o a l l a p p l i c a b l e c o p y r i g h t l a w s a n d i s n o t f o r r e s a l e i n a n y m a n n e r . p u b l i c a t i o n o r d e r i n g i n f o r m a t i o n n . a m e r i c a n t e c h n i c a l s u p p o r t : 8 0 0 ? 2 8 2 ? 9 8 5 5 t o l l f r e e u s a / c a n a d a e u r o p e , m i d d l e e a s t a n d a f r i c a t e c h n i c a l s u p p o r t : p h o n e : 4 2 1 3 3 7 9 0 2 9 1 0 j a p a n c u s t o m e r f o c u s c e n t e r p h o n e : 8 1 ? 3 ? 5 8 1 7 ? 1 0 5 0 n o a 3 3 0 2 / d l i t e r a t u r e f u l f i l l m e n t : l i t e r a t u r e d i s t r i b u t i o n c e n t e r f o r o n s e m i c o n d u c t o r p . o . b o x 5 1 6 3 , d e n v e r , c o l o r a d o 8 0 2 1 7 u s a p h o n e : 3 0 3 ? 6 7 5 ? 2 1 7 5 o r 8 0 0 ? 3 4 4 ? 3 8 6 0 t o l l f r e e u s a / c a n a d a f a x : 3 0 3 ? 6 7 5 ? 2 1 7 6 o r 8 0 0 ? 3 4 4 ? 3 8 6 7 t o l l f r e e u s a / c a n a d a e m a i l : o r d e r l i t @ o n s e m i . c o m o n s e m i c o n d u c t o r w e b s i t e : w w w . o n s e m i . c o m o r d e r l i t e r a t u r e : h t t p : / / w w w . o n s e m i . c o m / o r d e r l i t f o r a d d i t i o n a l i n f o r m a t i o n , p l e a s e c o n t a c t y o u r l o c a l s a l e s r e p r e s e n t a t i v e


▲Up To Search▲   

 
Price & Availability of NOA3302

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X